diff OrthancServer/ServerJobs/Operations/SystemCallOperation.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 94f4a18a79cc
children d729d6e8b484
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp	Fri Feb 28 13:23:11 2020 +0100
+++ b/OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp	Mon Mar 02 15:32:45 2020 +0100
@@ -81,7 +81,7 @@
 
     arguments.reserve(arguments.size() + postArguments_.size() + 1);
 
-    std::auto_ptr<TemporaryFile> tmp;
+    std::unique_ptr<TemporaryFile> tmp;
     
     switch (input.GetType())
     {