]> git.saurik.com Git - apt.git/blobdiff - methods/https.cc
releasing 1.1~exp14
[apt.git] / methods / https.cc
index d2ddf6fcfdb204d3ede13915eae10d52223b9de3..432a643031f160327be7dfd22cb6f265020c3858 100644 (file)
@@ -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));
 }
                                                                        /*}}}*/