# HG changeset patch # User Sebastien Jodogne # Date 1541779895 -3600 # Node ID a8b5cf760473b889e1a91547fc0108410b8e970a # Parent e33659decec54f4a325a840d069cfc8ba7da04bd fix for older compilers diff -r e33659decec5 -r a8b5cf760473 Applications/Samples/SimpleViewer/SimpleViewerApplication.h --- 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_; - std::unique_ptr thumbnailInteractor_; + std::auto_ptr mainWidgetInteractor_; + std::auto_ptr thumbnailInteractor_; LayoutWidget* mainLayout_; LayoutWidget* thumbnailsLayout_; LayerWidget* mainWidget_; @@ -104,8 +104,8 @@ OrthancStone::WidgetViewport* wasmViewport2_; IStatusBar* statusBar_; - std::unique_ptr smartLoader_; - std::unique_ptr orthancApiClient_; + std::auto_ptr smartLoader_; + std::auto_ptr orthancApiClient_; Orthanc::Font font_;