comparison 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
comparison
equal deleted inserted replaced
1297:6ab03e429f06 1299:c38c89684d83
26 namespace OrthancStone 26 namespace OrthancStone
27 { 27 {
28 class WebAssemblyCairoViewport : public WebAssemblyViewport 28 class WebAssemblyCairoViewport : public WebAssemblyViewport
29 { 29 {
30 private: 30 private:
31 std::auto_ptr<Orthanc::ImageAccessor> javascript_; 31 std::unique_ptr<Orthanc::ImageAccessor> javascript_;
32 32
33 void GetCanvasSize(unsigned int& width, 33 void GetCanvasSize(unsigned int& width,
34 unsigned int& height); 34 unsigned int& height);
35 35
36 protected: 36 protected: