diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-15 16:10:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 10:16:35 +0200 |
commit | fa286c8934745410aee34ee61ff2b44a67b5e36c (patch) | |
tree | d1b02c7bbdf4d4ee54f70b46d78ef1cddd145894 /vcl/inc/openglgdiimpl.hxx | |
parent | 2ea733e525773e5631210e9503fd8415a72c2ea9 (diff) |
loplugin:useuniqueptr in OpenGLSalGraphicsImpl
Change-Id: I0d0e4da9c081c890ffd7dcaf051e3a3900345c35
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 7bc6644fdc48..aa55b970e64c 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -74,7 +74,7 @@ protected: OpenGLProgram* mpProgram; /// This idle handler is used to swap buffers after rendering. - OpenGLFlushIdle *mpFlush; + std::unique_ptr<OpenGLFlushIdle> mpFlush; // clipping vcl::Region maClipRegion; |