diff Framework/Scene2DViewport/ViewportController.cpp @ 1059:e713f1a99861 broker

replacing MessageBroker by weak_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Oct 2019 17:08:34 +0200
parents 32b403a47b19
children f3bb9a6dd949
line wrap: on
line diff
--- a/Framework/Scene2DViewport/ViewportController.cpp	Fri Oct 11 13:38:35 2019 +0200
+++ b/Framework/Scene2DViewport/ViewportController.cpp	Fri Oct 11 17:08:34 2019 +0200
@@ -30,10 +30,8 @@
 namespace OrthancStone
 {
   ViewportController::ViewportController(boost::weak_ptr<UndoStack> undoStackW,
-                                         MessageBroker& broker,
                                          IViewport& viewport)
-    : IObservable(broker)
-    , undoStackW_(undoStackW)
+    : undoStackW_(undoStackW)
     , canvasToSceneFactor_(0.0)
     , viewport_(viewport)
   {