Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/CreateAngleMeasureTracker.cpp @ 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 | 8e31b174ab26 |
children | 0aff28f15ea2 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/CreateAngleMeasureTracker.cpp Wed May 29 08:36:13 2019 +0200 +++ b/Framework/Scene2DViewport/CreateAngleMeasureTracker.cpp Wed May 29 10:51:28 2019 +0200 @@ -25,7 +25,7 @@ { CreateAngleMeasureTracker::CreateAngleMeasureTracker( MessageBroker& broker, - ViewportControllerWPtr controllerW, + boost::weak_ptr<ViewportController> controllerW, const PointerEvent& e) : CreateMeasureTracker(controllerW) , state_(CreatingSide1) @@ -117,7 +117,7 @@ } } - CreateAngleMeasureCommandPtr CreateAngleMeasureTracker::GetCommand() + boost::shared_ptr<CreateAngleMeasureCommand> CreateAngleMeasureTracker::GetCommand() { return boost::dynamic_pointer_cast<CreateAngleMeasureCommand>(command_); }