diff Core/HttpServer/HttpServer.cpp @ 3712:2a170a8f1faf

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 15:32:45 +0100
parents ea8c1c0e81eb
children 9fe1d64a748c
line wrap: on
line diff
--- a/Core/HttpServer/HttpServer.cpp	Fri Feb 28 13:23:11 2020 +0100
+++ b/Core/HttpServer/HttpServer.cpp	Mon Mar 02 15:32:45 2020 +0100
@@ -853,7 +853,7 @@
 
       if (!isMultipartForm)
       {
-        std::auto_ptr<IHttpHandler::IChunkedRequestReader> stream;
+        std::unique_ptr<IHttpHandler::IChunkedRequestReader> stream;
 
         if (server.HasHandler())
         {