diff Framework/Deprecated/Toolbox/Slice.cpp @ 1308:adf234ecaa00 broker

Merge
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 04 Mar 2020 10:21:54 +0100
parents 8a0a62189f46
children 30deba7bc8e2
line wrap: on
line diff
--- a/Framework/Deprecated/Toolbox/Slice.cpp	Wed Mar 04 10:07:37 2020 +0100
+++ b/Framework/Deprecated/Toolbox/Slice.cpp	Wed Mar 04 10:21:54 2020 +0100
@@ -48,7 +48,7 @@
 
   Slice* Slice::Clone() const
   {
-    std::auto_ptr<Slice> target(new Slice());
+    std::unique_ptr<Slice> target(new Slice());
 
     target->type_ = type_;
     target->orthancInstanceId_ = orthancInstanceId_;