Mercurial > hg > orthanc-stone
changeset 1073:8d3936f06541 broker
fix for older gcc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Oct 2019 11:27:51 +0200 |
parents | d7887f88710f |
children | 229ea1389845 |
files | Applications/Generic/NativeStoneApplicationRunner.cpp Applications/Sdl/SdlStoneApplicationRunner.cpp |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Generic/NativeStoneApplicationRunner.cpp Tue Oct 15 21:28:46 2019 +0200 +++ b/Applications/Generic/NativeStoneApplicationRunner.cpp Thu Oct 17 11:27:51 2019 +0200 @@ -36,7 +36,6 @@ #include <Core/OrthancException.h> #include <Plugins/Samples/Common/OrthancHttpConnection.h> -#include <boost/make_shared.hpp> #include <boost/program_options.hpp> namespace OrthancStone @@ -207,7 +206,9 @@ oracle.Start(); { - context.SetWebService(boost::make_shared<Deprecated::OracleWebService>(oracle, webServiceParameters, context)); + boost::shared_ptr<Deprecated::OracleWebService> webService + (new Deprecated::OracleWebService(oracle, webServiceParameters, context)); + context.SetWebService(webService); context.SetOrthancBaseUrl(webServiceParameters.GetUrl()); Deprecated::OracleDelayedCallExecutor delayedExecutor(oracle, context);
--- a/Applications/Sdl/SdlStoneApplicationRunner.cpp Tue Oct 15 21:28:46 2019 +0200 +++ b/Applications/Sdl/SdlStoneApplicationRunner.cpp Thu Oct 17 11:27:51 2019 +0200 @@ -34,7 +34,6 @@ #include <Core/OrthancException.h> #include <Plugins/Samples/Common/OrthancHttpConnection.h> -#include <boost/make_shared.hpp> #include <boost/program_options.hpp> namespace OrthancStone @@ -104,7 +103,7 @@ LOG(WARNING) << "Starting the application"; SdlWindow window(title.c_str(), width_, height_, enableOpenGl_); - boost::shared_ptr<SdlEngine> sdl(boost::make_shared<SdlEngine>(window, context)); + boost::shared_ptr<SdlEngine> sdl(new SdlEngine(window, context)); { NativeStoneApplicationContext::GlobalMutexLocker locker(context);