Mercurial > hg > orthanc-stone
diff Framework/Viewport/WebAssemblyViewport.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 |
line wrap: on
line diff
--- a/Framework/Viewport/WebAssemblyViewport.h Sun Feb 23 15:32:24 2020 +0100 +++ b/Framework/Viewport/WebAssemblyViewport.h Mon Mar 02 17:21:24 2020 +0100 @@ -43,9 +43,9 @@ std::string shortCanvasId_; std::string fullCanvasId_; - std::auto_ptr<ICompositor> compositor_; + std::unique_ptr<ICompositor> compositor_; boost::shared_ptr<ViewportController> controller_; - std::auto_ptr<IViewportInteractor> interactor_; + std::unique_ptr<IViewportInteractor> interactor_; static EM_BOOL OnRequestAnimationFrame(double time, void *userData);