diff OrthancServer/ServerJobs/ArchiveJob.h @ 3713:56f2397f027a storage-commitment

integration mainline->storage-commitment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 15:42:17 +0100
parents 2d90dd30858c 2a170a8f1faf
children 1a346a4dc1b4
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/ArchiveJob.h	Mon Mar 02 10:13:34 2020 +0100
+++ b/OrthancServer/ServerJobs/ArchiveJob.h	Mon Mar 02 15:42:17 2020 +0100
@@ -33,6 +33,7 @@
 
 #pragma once
 
+#include "../../Core/Compatibility.h"
 #include "../../Core/JobsEngine/IJob.h"
 #include "../../Core/TemporaryFile.h"
 
@@ -55,7 +56,7 @@
     class ZipWriterIterator;
     
     boost::shared_ptr<TemporaryFile>      synchronousTarget_;
-    std::auto_ptr<TemporaryFile>          asynchronousTarget_;
+    std::unique_ptr<TemporaryFile>        asynchronousTarget_;
     ServerContext&                        context_;
     boost::shared_ptr<ArchiveIndex>       archive_;
     bool                                  isMedia_;