summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl/texture.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-06 14:25:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-06 21:37:02 +0200
commitcc3812dccd7a5fddad4a16cf33ec4f74e3b9da56 (patch)
tree1a4f182bbc5fe52dd9fbb8e12997e0d6e9eb119d /vcl/inc/opengl/texture.hxx
parente4008dc0c3b43c9eacdd88511075be2b883c9a77 (diff)
coverity#1371243 Missing move assignment operator
Change-Id: Idbd8b87d1336105cc34054277ae492077d86e8c9 Reviewed-on: https://gerrit.libreoffice.org/38453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/opengl/texture.hxx')
-rw-r--r--vcl/inc/opengl/texture.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx
index 2aca8ddfd874..554058af9603 100644
--- a/vcl/inc/opengl/texture.hxx
+++ b/vcl/inc/opengl/texture.hxx
@@ -91,6 +91,7 @@ public:
OpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, void const * pData );
OpenGLTexture( int nX, int nY, int nWidth, int nHeight );
OpenGLTexture( const OpenGLTexture& rTexture );
+ OpenGLTexture( OpenGLTexture&& rTexture );
OpenGLTexture( const OpenGLTexture& rTexture, int nX, int nY, int nWidth, int nHeight );
~OpenGLTexture();
@@ -117,6 +118,7 @@ public:
operator bool() const;
OpenGLTexture& operator=( const OpenGLTexture& rTexture );
+ OpenGLTexture& operator=( OpenGLTexture&& rTexture );
bool operator==( const OpenGLTexture& rTexture ) const;
bool operator!=( const OpenGLTexture& rTexture ) const;