Mercurial > hg > orthanc-stone
diff Applications/Sdl/SdlOrthancSurface.h @ 1308:adf234ecaa00 broker
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 04 Mar 2020 10:21:54 +0100 |
parents | 257f2c9a02ac |
children |
line wrap: on
line diff
--- a/Applications/Sdl/SdlOrthancSurface.h Wed Mar 04 10:07:37 2020 +0100 +++ b/Applications/Sdl/SdlOrthancSurface.h Wed Mar 04 10:21:54 2020 +0100 @@ -25,7 +25,9 @@ #include "../../Framework/Viewport/SdlWindow.h" +#include <Core/Compatibility.h> #include <Core/Images/ImageAccessor.h> + #include <boost/thread/mutex.hpp> namespace OrthancStone @@ -33,7 +35,7 @@ class SdlOrthancSurface : public boost::noncopyable { private: - std::auto_ptr<Orthanc::ImageAccessor> image_; + std::unique_ptr<Orthanc::ImageAccessor> image_; SdlWindow& window_; SDL_Surface* sdlSurface_;