Mercurial > hg > orthanc-stone
diff Framework/Viewport/WebAssemblyCairoViewport.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 |
line wrap: on
line diff
--- a/Framework/Viewport/WebAssemblyCairoViewport.h Sun Feb 23 15:32:24 2020 +0100 +++ b/Framework/Viewport/WebAssemblyCairoViewport.h Mon Mar 02 17:21:24 2020 +0100 @@ -28,7 +28,7 @@ class WebAssemblyCairoViewport : public WebAssemblyViewport { private: - std::auto_ptr<Orthanc::ImageAccessor> javascript_; + std::unique_ptr<Orthanc::ImageAccessor> javascript_; void GetCanvasSize(unsigned int& width, unsigned int& height);