Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/ResourceModificationJob.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 | 023b2a9f3aa1 |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/ResourceModificationJob.cpp Fri Feb 28 13:23:11 2020 +0100 +++ b/OrthancServer/ServerJobs/ResourceModificationJob.cpp Mon Mar 02 15:32:45 2020 +0100 @@ -147,8 +147,8 @@ * Retrieve the original instance from the DICOM cache. **/ - std::auto_ptr<DicomInstanceHasher> originalHasher; - std::auto_ptr<ParsedDicomFile> modified; + std::unique_ptr<DicomInstanceHasher> originalHasher; + std::unique_ptr<ParsedDicomFile> modified; try {