summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.h b/methods/http.h
index da6139b02..e06a046ef 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -128,7 +128,7 @@ class HttpMethod : public ServerMethod
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: