diff options
Diffstat (limited to 'methods/https.cc')
-rw-r--r-- | methods/https.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/https.cc b/methods/https.cc index d2ddf6fcf..432a64303 100644 --- a/methods/https.cc +++ b/methods/https.cc @@ -505,9 +505,9 @@ bool HttpsMethod::Configuration(string Message) return true; } /*}}}*/ -ServerState * HttpsMethod::CreateServerState(URI uri) /*{{{*/ +std::unique_ptr<ServerState> HttpsMethod::CreateServerState(URI const &uri)/*{{{*/ { - return new HttpsServerState(uri, this); + return std::unique_ptr<ServerState>(new HttpsServerState(uri, this)); } /*}}}*/ |