Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WebGLViewportsRegistry.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 | 0ca50d275b9a |
children | ab81ee8fce1f |
comparison
equal
deleted
inserted
replaced
1297:6ab03e429f06 | 1299:c38c89684d83 |
---|---|
63 | 63 |
64 class Accessor : public boost::noncopyable | 64 class Accessor : public boost::noncopyable |
65 { | 65 { |
66 private: | 66 private: |
67 WebGLViewportsRegistry& that_; | 67 WebGLViewportsRegistry& that_; |
68 std::auto_ptr<IViewport::ILock> lock_; | 68 std::unique_ptr<IViewport::ILock> lock_; |
69 | 69 |
70 public: | 70 public: |
71 Accessor(WebGLViewportsRegistry& that, | 71 Accessor(WebGLViewportsRegistry& that, |
72 const std::string& canvasId); | 72 const std::string& canvasId); |
73 | 73 |