changeset 1233:f621b57c9f37 broker

fix warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Dec 2019 17:48:14 +0100
parents a28861abf888
children e99e09143c64
files Framework/Scene2DViewport/ViewportController.cpp
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Scene2DViewport/ViewportController.cpp	Mon Dec 09 17:46:33 2019 +0100
+++ b/Framework/Scene2DViewport/ViewportController.cpp	Mon Dec 09 17:48:14 2019 +0100
@@ -66,22 +66,22 @@
 
   ViewportController::ViewportController() :
     undoStackW_(boost::make_shared<OrthancStone::UndoStack>()),
-    canvasToSceneFactor_(1),
-    scene_(new Scene2D)
+    scene_(new Scene2D),
+    canvasToSceneFactor_(1)
   {
   }
 
   ViewportController::ViewportController(const Scene2D& scene) : 
     undoStackW_(boost::make_shared<OrthancStone::UndoStack>()),
-    canvasToSceneFactor_(1),
-    scene_(scene.Clone())
+    scene_(scene.Clone()),
+    canvasToSceneFactor_(1)
   {
   }
 
   ViewportController::ViewportController(boost::weak_ptr<UndoStack> undoStackW) :
     undoStackW_(undoStackW),
-    canvasToSceneFactor_(1),
-    scene_(new Scene2D)
+    scene_(new Scene2D),
+    canvasToSceneFactor_(1)
   {
   }