Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/Internals/OpenGLLinesProgram.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 |
---|---|
71 } | 71 } |
72 }; | 72 }; |
73 | 73 |
74 private: | 74 private: |
75 OpenGL::IOpenGLContext& context_; | 75 OpenGL::IOpenGLContext& context_; |
76 std::auto_ptr<OpenGL::OpenGLProgram> program_; | 76 std::unique_ptr<OpenGL::OpenGLProgram> program_; |
77 | 77 |
78 public: | 78 public: |
79 OpenGLLinesProgram(OpenGL::IOpenGLContext& context); | 79 OpenGLLinesProgram(OpenGL::IOpenGLContext& context); |
80 | 80 |
81 void Apply(const Data& data, | 81 void Apply(const Data& data, |