Mercurial > hg > orthanc-stone
comparison Applications/Sdl/SdlOrthancSurface.h @ 1299:c38c89684d83 broker
replacing std::auto_ptr by std::unique_ptr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Mar 2020 17:21:24 +0100 |
parents | 2d8ab34c8c91 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
31 namespace OrthancStone | 31 namespace OrthancStone |
32 { | 32 { |
33 class SdlOrthancSurface : public boost::noncopyable | 33 class SdlOrthancSurface : public boost::noncopyable |
34 { | 34 { |
35 private: | 35 private: |
36 std::auto_ptr<Orthanc::ImageAccessor> image_; | 36 std::unique_ptr<Orthanc::ImageAccessor> image_; |
37 SdlWindow& window_; | 37 SdlWindow& window_; |
38 SDL_Surface* sdlSurface_; | 38 SDL_Surface* sdlSurface_; |
39 | 39 |
40 public: | 40 public: |
41 SdlOrthancSurface(SdlWindow& window); | 41 SdlOrthancSurface(SdlWindow& window); |