Mercurial > hg > orthanc-stone
diff Applications/Sdl/SdlStoneApplicationRunner.cpp @ 1073:8d3936f06541 broker
fix for older gcc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Oct 2019 11:27:51 +0200 |
parents | 04a95ee91327 |
children | 0ca50d275b9a |
line wrap: on
line diff
--- 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);