diff Applications/Samples/Common/RtViewerApp.cpp @ 1574:fb5e620430ae

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 18:29:53 +0200
parents 32e0c007789d
children 9ac2a65d4172
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)
   {
   }