diff Framework/Toolbox/OrthancSlicesLoader.h @ 99:efd9ef2b67f1 wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 May 2017 21:08:31 +0200
parents 5945e81734a3
children 53025eecbc95
line wrap: on
line diff
--- a/Framework/Toolbox/OrthancSlicesLoader.h	Tue May 30 15:02:24 2017 +0200
+++ b/Framework/Toolbox/OrthancSlicesLoader.h	Tue May 30 21:08:31 2017 +0200
@@ -46,7 +46,7 @@
       virtual void NotifySliceImageReady(const OrthancSlicesLoader& loader,
                                          unsigned int sliceIndex,
                                          const Slice& slice,
-                                         Orthanc::ImageAccessor* image,
+                                         std::auto_ptr<Orthanc::ImageAccessor>& image,
                                          SliceImageQuality quality) = 0;
 
       virtual void NotifySliceImageError(const OrthancSlicesLoader& loader,
@@ -82,7 +82,7 @@
     SlicesSorter  slices_;
 
     void NotifySliceImageSuccess(const Operation& operation,
-                                 Orthanc::ImageAccessor* image) const;
+                                 std::auto_ptr<Orthanc::ImageAccessor>& image) const;
   
     void NotifySliceImageError(const Operation& operation) const;