Mercurial > hg > orthanc-stone
changeset 1035:01631b65837c
fix warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Oct 2019 15:26:16 +0200 |
parents | 43bf09d73e03 |
children | d7d3227c11a9 |
files | Framework/Scene2DViewport/MeasureCommands.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/MeasureCommands.cpp Mon Oct 07 14:09:44 2019 +0200 +++ b/Framework/Scene2DViewport/MeasureCommands.cpp Mon Oct 07 15:26:16 2019 +0200 @@ -71,8 +71,8 @@ DeleteMeasureCommand::DeleteMeasureCommand(boost::shared_ptr<MeasureTool> measureTool, boost::weak_ptr<ViewportController> controllerW) : MeasureCommand(controllerW) + , mementoOriginal_(measureTool->GetMemento()) , measureTool_(measureTool) - , mementoOriginal_(measureTool->GetMemento()) , mementoModified_(measureTool->GetMemento()) { GetMeasureTool()->Disable();