changeset 1574:fb5e620430ae

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 18:29:53 +0200
parents 32e0c007789d
children e4a52cbbdd70
files Applications/Samples/Common/RtViewerApp.cpp Applications/Samples/Common/RtViewerApp.h
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Samples/Common/RtViewerApp.cpp	Mon Sep 21 18:28:34 2020 +0200
+++ b/Applications/Samples/Common/RtViewerApp.cpp	Mon Sep 21 18:29:53 2020 +0200
@@ -75,10 +75,10 @@
   }
 
   RtViewerApp::RtViewerApp() :
-    undoStack_(new UndoStack),
     // Create the volumes that will be filled later on
     ctVolume_(boost::make_shared<DicomVolumeImage>()),
-    doseVolume_(boost::make_shared<DicomVolumeImage>())
+    doseVolume_(boost::make_shared<DicomVolumeImage>()),
+    undoStack_(new UndoStack)
   {
   }
 
--- a/Applications/Samples/Common/RtViewerApp.h	Mon Sep 21 18:28:34 2020 +0200
+++ b/Applications/Samples/Common/RtViewerApp.h	Mon Sep 21 18:29:53 2020 +0200
@@ -158,7 +158,6 @@
     */
     boost::shared_ptr<OrthancStone::IGeometryProvider>  geometryProvider_;
 
-
     boost::shared_ptr<IFlexiblePointerTracker> activeTracker_;
 
     boost::shared_ptr<UndoStack> undoStack_;