X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/830a1b8c9e9a26dc1101167ac66a75c444902c4d..14bed2c0108a99d68f453ff61273d5ae59a5c3f0:/methods/http.h diff --git a/methods/http.h b/methods/http.h index e06a046ef..5567de715 100644 --- a/methods/http.h +++ b/methods/http.h @@ -12,7 +12,6 @@ #define APT_HTTP_H #include -#include #include #include @@ -87,7 +86,7 @@ class CircleBuf // Dump everything void Stats(); - CircleBuf(unsigned long long Size); + explicit CircleBuf(unsigned long long Size); ~CircleBuf(); }; @@ -137,7 +136,7 @@ class HttpMethod : public ServerMethod public: friend struct HttpServerState; - HttpMethod() : ServerMethod("1.2",Pipeline | SendConfig) + HttpMethod() : ServerMethod("http", "1.2",Pipeline | SendConfig) { File = 0; Server = 0;