Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/LineMeasureTool.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 | 61ba4b504e9a |
children | ff3559c489c9 |
comparison
equal
deleted
inserted
replaced
817:68f888812af4 | 818:e42b491f1fb2 |
---|---|
28 | 28 |
29 namespace OrthancStone | 29 namespace OrthancStone |
30 { | 30 { |
31 | 31 |
32 LineMeasureTool::LineMeasureTool( | 32 LineMeasureTool::LineMeasureTool( |
33 MessageBroker& broker, ViewportControllerWPtr controllerW) | 33 MessageBroker& broker, boost::weak_ptr<ViewportController> controllerW) |
34 : MeasureTool(broker, controllerW) | 34 : MeasureTool(broker, controllerW) |
35 , layerHolder_(boost::make_shared<LayerHolder>(controllerW, 1, 5)) | 35 , layerHolder_(boost::make_shared<LayerHolder>(controllerW, 1, 5)) |
36 { | 36 { |
37 | 37 |
38 } | 38 } |