Mercurial > hg > orthanc-stone
comparison Framework/Viewport/SdlViewport.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 | 7ec8fea061b9 |
children | 257f2c9a02ac |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
49 { | 49 { |
50 private: | 50 private: |
51 boost::mutex mutex_; | 51 boost::mutex mutex_; |
52 uint32_t refreshEvent_; | 52 uint32_t refreshEvent_; |
53 boost::shared_ptr<ViewportController> controller_; | 53 boost::shared_ptr<ViewportController> controller_; |
54 std::auto_ptr<ICompositor> compositor_; | 54 std::unique_ptr<ICompositor> compositor_; |
55 | 55 |
56 void SendRefreshEvent(); | 56 void SendRefreshEvent(); |
57 | 57 |
58 protected: | 58 protected: |
59 class SdlLock : public ILock | 59 class SdlLock : public ILock |