comparison Framework/Scene2D/Internals/OpenGLTextProgram.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 2d8ab34c8c91
children d3c4f5e2b287
comparison
equal deleted inserted replaced
1297:6ab03e429f06 1299:c38c89684d83
118 } 118 }
119 }; 119 };
120 120
121 private: 121 private:
122 OpenGL::IOpenGLContext& context_; 122 OpenGL::IOpenGLContext& context_;
123 std::auto_ptr<OpenGL::OpenGLProgram> program_; 123 std::unique_ptr<OpenGL::OpenGLProgram> program_;
124 GLint positionLocation_; 124 GLint positionLocation_;
125 GLint textureLocation_; 125 GLint textureLocation_;
126 126
127 public: 127 public:
128 OpenGLTextProgram(OpenGL::IOpenGLContext& context); 128 OpenGLTextProgram(OpenGL::IOpenGLContext& context);