diff OrthancServer/ServerJobs/DicomMoveScuJob.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 138d0dde41b5
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/DicomMoveScuJob.h	Mon Mar 02 10:13:34 2020 +0100
+++ b/OrthancServer/ServerJobs/DicomMoveScuJob.h	Mon Mar 02 15:42:17 2020 +0100
@@ -33,6 +33,7 @@
 
 #pragma once
 
+#include "../../Core/Compatibility.h"
 #include "../../Core/JobsEngine/SetOfCommandsJob.h"
 #include "../../Core/DicomNetworking/DicomUserConnection.h"
 
@@ -48,12 +49,12 @@
     class Command;
     class Unserializer;
     
-    ServerContext&                      context_;
-    std::string                         localAet_;
-    std::string                         targetAet_;
-    RemoteModalityParameters            remote_;
-    std::auto_ptr<DicomUserConnection>  connection_;
-    Json::Value                         query_;
+    ServerContext&                        context_;
+    std::string                           localAet_;
+    std::string                           targetAet_;
+    RemoteModalityParameters              remote_;
+    std::unique_ptr<DicomUserConnection>  connection_;
+    Json::Value                           query_;
 
     void Retrieve(const DicomMap& findAnswer);