diff Framework/Volumes/DicomVolumeImageMPRSlicer.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 6ab03e429f06
children 257f2c9a02ac
line wrap: on
line diff
--- a/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp	Sun Feb 23 15:32:24 2020 +0100
+++ b/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp	Mon Mar 02 17:21:24 2020 +0100
@@ -76,7 +76,7 @@
                                       "A style configurator is mandatory for textures");
     }
 
-    std::auto_ptr<TextureBaseSceneLayer> texture;
+    std::unique_ptr<TextureBaseSceneLayer> texture;
       
     {
       const DicomInstanceParameters& parameters = volume_.GetDicomParameters();