diff OrthancServer/ServerJobs/DicomModalityStoreJob.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 2a170a8f1faf
children 4fc24b69446a
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/DicomModalityStoreJob.h	Mon Mar 02 10:13:34 2020 +0100
+++ b/OrthancServer/ServerJobs/DicomModalityStoreJob.h	Mon Mar 02 15:42:17 2020 +0100
@@ -33,6 +33,7 @@
 
 #pragma once
 
+#include "../../Core/Compatibility.h"
 #include "../../Core/JobsEngine/SetOfInstancesJob.h"
 #include "../../Core/DicomNetworking/DicomUserConnection.h"
 
@@ -43,12 +44,12 @@
   class DicomModalityStoreJob : public SetOfInstancesJob
   {
   private:
-    ServerContext&                      context_;
-    std::string                         localAet_;
-    RemoteModalityParameters            remote_;
-    std::string                         moveOriginatorAet_;
-    uint16_t                            moveOriginatorId_;
-    std::auto_ptr<DicomUserConnection>  connection_;
+    ServerContext&                        context_;
+    std::string                           localAet_;
+    RemoteModalityParameters              remote_;
+    std::string                           moveOriginatorAet_;
+    uint16_t                              moveOriginatorId_;
+    std::unique_ptr<DicomUserConnection>  connection_;
 
     void OpenConnection();