X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/21248c0f00ee71412dbadc6ebf84011cf974346d..af81ab9030229b4ce6cbe28f0f0831d4896fda01:/methods/https.cc 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 HttpsMethod::CreateServerState(URI const &uri)/*{{{*/ { - return new HttpsServerState(uri, this); + return std::unique_ptr(new HttpsServerState(uri, this)); } /*}}}*/