# HG changeset patch # User Sebastien Jodogne # Date 1571304471 -7200 # Node ID 8d3936f065410509be0a0cdb28f84183d226a5a3 # Parent d7887f88710fb8e09190e260da6aa720e69a2304 fix for older gcc diff -r d7887f88710f -r 8d3936f06541 Applications/Generic/NativeStoneApplicationRunner.cpp --- 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 #include -#include #include namespace OrthancStone @@ -207,7 +206,9 @@ oracle.Start(); { - context.SetWebService(boost::make_shared(oracle, webServiceParameters, context)); + boost::shared_ptr webService + (new Deprecated::OracleWebService(oracle, webServiceParameters, context)); + context.SetWebService(webService); context.SetOrthancBaseUrl(webServiceParameters.GetUrl()); Deprecated::OracleDelayedCallExecutor delayedExecutor(oracle, context); diff -r d7887f88710f -r 8d3936f06541 Applications/Sdl/SdlStoneApplicationRunner.cpp --- 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 #include -#include #include namespace OrthancStone @@ -104,7 +103,7 @@ LOG(WARNING) << "Starting the application"; SdlWindow window(title.c_str(), width_, height_, enableOpenGl_); - boost::shared_ptr sdl(boost::make_shared(window, context)); + boost::shared_ptr sdl(new SdlEngine(window, context)); { NativeStoneApplicationContext::GlobalMutexLocker locker(context);