comparison Framework/Scene2D/Internals/OpenGLInfoPanelRenderer.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 be17fed8c7c5
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
32 class OpenGLInfoPanelRenderer : public CompositorHelper::ILayerRenderer 32 class OpenGLInfoPanelRenderer : public CompositorHelper::ILayerRenderer
33 { 33 {
34 private: 34 private:
35 OpenGL::IOpenGLContext& context_; 35 OpenGL::IOpenGLContext& context_;
36 OpenGLColorTextureProgram& program_; 36 OpenGLColorTextureProgram& program_;
37 std::auto_ptr<OpenGL::OpenGLTexture> texture_; 37 std::unique_ptr<OpenGL::OpenGLTexture> texture_;
38 BitmapAnchor anchor_; 38 BitmapAnchor anchor_;
39 39
40 void LoadTexture(const InfoPanelSceneLayer& layer); 40 void LoadTexture(const InfoPanelSceneLayer& layer);
41 41
42 public: 42 public: