Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/DicomMoveScuJob.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 | 56f2397f027a |
comparison
equal
deleted
inserted
replaced
3709:1f4910999fe7 | 3712:2a170a8f1faf |
---|---|
44 namespace Orthanc | 44 namespace Orthanc |
45 { | 45 { |
46 class DicomMoveScuJob::Command : public SetOfCommandsJob::ICommand | 46 class DicomMoveScuJob::Command : public SetOfCommandsJob::ICommand |
47 { | 47 { |
48 private: | 48 private: |
49 DicomMoveScuJob& that_; | 49 DicomMoveScuJob& that_; |
50 std::auto_ptr<DicomMap> findAnswer_; | 50 std::unique_ptr<DicomMap> findAnswer_; |
51 | 51 |
52 public: | 52 public: |
53 Command(DicomMoveScuJob& that, | 53 Command(DicomMoveScuJob& that, |
54 const DicomMap& findAnswer) : | 54 const DicomMap& findAnswer) : |
55 that_(that), | 55 that_(that), |