]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
tests: ensure sponge-files are cleaned up properly
[apt.git] / methods / http.h
index da6139b0211379c02b2be9f8ba5557d8e0bb973d..e06a046ef688c6cbc24b31bcf8a8e11dc3e2b8aa 100644 (file)
@@ -128,7 +128,7 @@ class HttpMethod : public ServerMethod
 
    virtual bool Configuration(std::string Message) APT_OVERRIDE;
 
 
    virtual bool Configuration(std::string Message) APT_OVERRIDE;
 
-   virtual ServerState * CreateServerState(URI uri) APT_OVERRIDE;
+   virtual std::unique_ptr<ServerState> CreateServerState(URI const &uri) APT_OVERRIDE;
    virtual void RotateDNS() APT_OVERRIDE;
 
    protected:
    virtual void RotateDNS() APT_OVERRIDE;
 
    protected: