]> git.saurik.com Git - apt.git/commitdiff
ServerState is a struct and not a class (clang mismatch type warning)
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 17 May 2011 13:13:56 +0000 (15:13 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 17 May 2011 13:13:56 +0000 (15:13 +0200)
methods/http.h

index 0bc019e771af46fd9997f52582692ab26d6c5b72..aa96c6810d9824c36893a59cd9fda7d910e56f29 100644 (file)
@@ -182,7 +182,7 @@ class HttpMethod : public pkgAcqMethod
    string AutoDetectProxyCmd;
 
    public:
-   friend class ServerState;
+   friend struct ServerState;
 
    FileFd *File;
    ServerState *Server;