diff Framework/Toolbox/ParsedDicomCache.cpp @ 1299:c38c89684d83 broker

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 17:21:24 +0100
parents 0ca50d275b9a
children
line wrap: on
line diff
--- a/Framework/Toolbox/ParsedDicomCache.cpp	Sun Feb 23 15:32:24 2020 +0100
+++ b/Framework/Toolbox/ParsedDicomCache.cpp	Mon Mar 02 17:21:24 2020 +0100
@@ -26,7 +26,7 @@
   class ParsedDicomCache::Item : public Orthanc::ICacheable
   {
   private:
-    std::auto_ptr<Orthanc::ParsedDicomFile>  dicom_;
+    std::unique_ptr<Orthanc::ParsedDicomFile>  dicom_;
     size_t                                   fileSize_;
     bool                                     hasPixelData_;