diff Framework/Volumes/DicomVolumeImageMPRSlicer.cpp @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents f037422f3a66
children 257f2c9a02ac
line wrap: on
line diff
--- a/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp	Sun Feb 23 15:25:49 2020 +0100
+++ b/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp	Mon Mar 02 16:31:30 2020 +0100
@@ -77,7 +77,7 @@
                                       "A style configurator is mandatory for textures");
     }
 
-    std::auto_ptr<TextureBaseSceneLayer> texture;
+    std::unique_ptr<TextureBaseSceneLayer> texture;
       
     {
       const DicomInstanceParameters& parameters = volume_.GetDicomParameters();