comparison OrthancServer/ServerJobs/ResourceModificationJob.cpp @ 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 023b2a9f3aa1
comparison
equal deleted inserted replaced
3711:14b363d972a8 3713:56f2397f027a
145 145
146 /** 146 /**
147 * Retrieve the original instance from the DICOM cache. 147 * Retrieve the original instance from the DICOM cache.
148 **/ 148 **/
149 149
150 std::auto_ptr<DicomInstanceHasher> originalHasher; 150 std::unique_ptr<DicomInstanceHasher> originalHasher;
151 std::auto_ptr<ParsedDicomFile> modified; 151 std::unique_ptr<ParsedDicomFile> modified;
152 152
153 try 153 try
154 { 154 {
155 ServerContext::DicomCacheLocker locker(context_, instance); 155 ServerContext::DicomCacheLocker locker(context_, instance);
156 ParsedDicomFile& original = locker.GetDicom(); 156 ParsedDicomFile& original = locker.GetDicom();