Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/AngleMeasureTool.h @ 818:e42b491f1fb2
Removed typedefs to shared_ptr by making them explicit. Removed using namespace
directives to make usage more explicit, too.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 29 May 2019 10:51:28 +0200 |
parents | 66ac7a2d1e3a |
children | a29c13497557 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/AngleMeasureTool.h Wed May 29 08:36:13 2019 +0200 +++ b/Framework/Scene2DViewport/AngleMeasureTool.h Wed May 29 10:51:28 2019 +0200 @@ -39,7 +39,7 @@ class AngleMeasureTool : public MeasureTool { public: - AngleMeasureTool(MessageBroker& broker, ViewportControllerWPtr controllerW); + AngleMeasureTool(MessageBroker& broker, boost::weak_ptr<ViewportController> controllerW); ~AngleMeasureTool(); @@ -58,7 +58,7 @@ ScenePoint2D side1End_; ScenePoint2D side2End_; ScenePoint2D center_; - LayerHolderPtr layerHolder_; + boost::shared_ptr<LayerHolder> layerHolder_; }; }