diff Applications/Samples/SingleFrameApplication.h @ 334:c34784e5f299 am-2

compatibility fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 18 Oct 2018 09:02:24 +0200
parents 7a364e44fbb4
children c7fdc8bac581
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameApplication.h	Wed Oct 17 19:42:56 2018 +0200
+++ b/Applications/Samples/SingleFrameApplication.h	Thu Oct 18 09:02:24 2018 +0200
@@ -184,11 +184,10 @@
         mainWidget_->FitContent();
       }
       
-      std::unique_ptr<Interactor>           mainWidgetInteractor_;
-      std::unique_ptr<OrthancApiClient>     orthancApiClient_;
-
-      const OrthancFrameLayerSource*        source_;
-      unsigned int                          slice_;
+      std::auto_ptr<Interactor>         mainWidgetInteractor_;
+      std::auto_ptr<OrthancApiClient>   orthancApiClient_;
+      const OrthancFrameLayerSource*    source_;
+      unsigned int                      slice_;
 
     public:
       SingleFrameApplication(MessageBroker& broker) :