# HG changeset patch # User Benjamin Golinvaux # Date 1559024138 -7200 # Node ID c83a45f864b2fe8af63b4fe5859e94d783724d74 # Parent e76c4eef1054a3dc27dc16e44167bc7661dd3ced# Parent 5aa7285005868638bc58b6b63a1b4b837c92a5a5 Merge diff -r 5aa728500586 -r c83a45f864b2 Samples/Sdl/Loader.cpp --- a/Samples/Sdl/Loader.cpp Tue May 28 07:48:57 2019 +0200 +++ b/Samples/Sdl/Loader.cpp Tue May 28 08:15:38 2019 +0200 @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include diff -r 5aa728500586 -r c83a45f864b2 Samples/Sdl/TrackerSampleApp.cpp --- a/Samples/Sdl/TrackerSampleApp.cpp Tue May 28 07:48:57 2019 +0200 +++ b/Samples/Sdl/TrackerSampleApp.cpp Tue May 28 08:15:38 2019 +0200 @@ -40,7 +40,10 @@ #include #include +#include +#include #include + #include using namespace Orthanc; @@ -200,7 +203,7 @@ { CreateLineMeasureCommandPtr cmd = boost::make_shared( - IObserver::GetBroker(), + boost::ref(IObserver::GetBroker()), controller_, GetRandomPointInScene()); cmd->SetEnd(GetRandomPointInScene()); @@ -212,7 +215,7 @@ { CreateAngleMeasureCommandPtr cmd = boost::make_shared( - IObserver::GetBroker(), + boost::ref(IObserver::GetBroker()), controller_, GetRandomPointInScene()); cmd->SetCenter(GetRandomPointInScene());