summaryrefslogtreecommitdiff
path: root/include/vcl/opengl/OpenGLContext.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-15 20:41:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-16 12:54:44 +0000
commita1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (patch)
tree56a29f66f75f326a0a677ab1697ce28f1bc9fcbf /include/vcl/opengl/OpenGLContext.hxx
parent18f41dfaf19d656d290c47d196ef2702e169a522 (diff)
boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
Diffstat (limited to 'include/vcl/opengl/OpenGLContext.hxx')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 02769231db34..0e98da6a6878 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -52,7 +52,6 @@ class NSOpenGLView;
#endif
#include <vcl/vclopengl_dllapi.hxx>
-#include <boost/scoped_ptr.hpp>
#include <boost/ptr_container/ptr_map.hpp>
#include <vcl/window.hxx>
#include <tools/gen.hxx>
@@ -250,10 +249,10 @@ private:
#endif
GLWindow m_aGLWin;
- boost::scoped_ptr<vcl::Window> m_pWindow;
- vcl::Window* mpWindow; //points to m_pWindow or the parent window, don't delete it
+ std::unique_ptr<vcl::Window> m_xWindow;
+ vcl::Window* mpWindow; //points to m_xWindow or the parent window, don't delete it
SystemChildWindow* m_pChildWindow;
- boost::scoped_ptr<SystemChildWindow> m_pChildWindowGC;
+ std::unique_ptr<SystemChildWindow> m_xChildWindowGC;
bool mbInitialized;
int mnRefCount;
bool mbRequestLegacyContext;