changeset 387:a8b5cf760473

fix for older compilers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Nov 2018 17:11:35 +0100
parents e33659decec5
children 20f149669c1f
files Applications/Samples/SimpleViewer/SimpleViewerApplication.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Samples/SimpleViewer/SimpleViewerApplication.h	Fri Nov 09 17:06:28 2018 +0100
+++ b/Applications/Samples/SimpleViewer/SimpleViewerApplication.h	Fri Nov 09 17:11:35 2018 +0100
@@ -89,8 +89,8 @@
 
   private:
     Tools                           currentTool_;
-    std::unique_ptr<MainWidgetInteractor> mainWidgetInteractor_;
-    std::unique_ptr<ThumbnailInteractor>  thumbnailInteractor_;
+    std::auto_ptr<MainWidgetInteractor> mainWidgetInteractor_;
+    std::auto_ptr<ThumbnailInteractor>  thumbnailInteractor_;
     LayoutWidget*                   mainLayout_;
     LayoutWidget*                   thumbnailsLayout_;
     LayerWidget*                    mainWidget_;
@@ -104,8 +104,8 @@
     OrthancStone::WidgetViewport*   wasmViewport2_;
 
     IStatusBar*                     statusBar_;
-    std::unique_ptr<SmartLoader>    smartLoader_;
-    std::unique_ptr<OrthancApiClient>      orthancApiClient_;
+    std::auto_ptr<SmartLoader>    smartLoader_;
+    std::auto_ptr<OrthancApiClient>      orthancApiClient_;
 
     Orthanc::Font                   font_;