comparison Framework/Scene2D/Internals/OpenGLTextProgram.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 d3c4f5e2b287
comparison
equal deleted inserted replaced
1296:86400fa16091 1298:8a0a62189f46
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);