]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
merged from lp:~donkult/apt/experimental
[apt.git] / methods / http.h
index 08823d1b14a4e458372eb9d2518eff8cd51d8ad2..c73d4df5ca5252d159ce7fd9c03ddcbc25b80f64 100644 (file)
 
 #define MAXLEN 360
 
-#include <apt-pkg/hashes.h>
+#include <apt-pkg/strutl.h>
+
+#include <string>
 
 using std::cout;
 using std::endl;
 
 class HttpMethod;
+class Hashes;
 
 class CircleBuf
 {
@@ -80,7 +83,7 @@ class CircleBuf
    void Stats();
 
    CircleBuf(unsigned long long Size);
-   ~CircleBuf() {delete [] Buf; delete Hash;};
+   ~CircleBuf();
 };
 
 struct ServerState