comparison Framework/Viewport/SdlViewport.h @ 1298:8a0a62189f46

replacing std::auto_ptr by std::unique_ptr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Mar 2020 16:31:30 +0100
parents 2d8ab34c8c91
children 257f2c9a02ac
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
64 64
65 class SdlOpenGLViewport : public SdlViewport 65 class SdlOpenGLViewport : public SdlViewport
66 { 66 {
67 private: 67 private:
68 SdlOpenGLContext context_; 68 SdlOpenGLContext context_;
69 std::auto_ptr<OpenGLCompositor> compositor_; 69 std::unique_ptr<OpenGLCompositor> compositor_;
70 70
71 public: 71 public:
72 SdlOpenGLViewport(const char* title, 72 SdlOpenGLViewport(const char* title,
73 unsigned int width, 73 unsigned int width,
74 unsigned int height, 74 unsigned int height,