comparison OrthancStone/Sources/Scene2DViewport/ViewportController.cpp @ 1724:7b17090ed2ab

fix warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Dec 2020 17:07:32 +0100
parents d4a8e2b19a65
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1723:81273beabc9f 1724:7b17090ed2ab
28 #include <boost/make_shared.hpp> 28 #include <boost/make_shared.hpp>
29 29
30 namespace OrthancStone 30 namespace OrthancStone
31 { 31 {
32 ViewportController::ViewportController(boost::weak_ptr<IViewport> viewport) 32 ViewportController::ViewportController(boost::weak_ptr<IViewport> viewport)
33 : viewport_(viewport) 33 : scene_(new Scene2D)
34 , scene_(new Scene2D) 34 , viewport_(viewport)
35 , canvasToSceneFactor_(1) 35 , canvasToSceneFactor_(1)
36 { 36 {
37 // undoStack_ is not default-initialized, which basically means empty. 37 // undoStack_ is not default-initialized, which basically means empty.
38 // The controller must be able to cope with this. 38 // The controller must be able to cope with this.
39 } 39 }