include/vcl/alpha.hxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d010fbf353ab6f73741e4d1d9ea4bd3ba5301d90
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Oct 4 16:57:24 2016 +0200

    Actually delegate to Bitmap's move assign op
    
    Change-Id: Ib57906ead469d64d324f3820c6f5d3c49ab4cd0a

diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx
index 738bd5a..9e3f497 100644
--- a/include/vcl/alpha.hxx
+++ b/include/vcl/alpha.hxx
@@ -20,6 +20,10 @@
 #ifndef INCLUDED_VCL_ALPHA_HXX
 #define INCLUDED_VCL_ALPHA_HXX
 
+#include <sal/config.h>
+
+#include <utility>
+
 #include <vcl/dllapi.h>
 #include <vcl/bitmap.hxx>
 
@@ -40,7 +44,7 @@ public:
 
     AlphaMask&  operator=( const Bitmap& rBitmap );
     AlphaMask&  operator=( const AlphaMask& rAlphaMask ) { return 
static_cast<AlphaMask&>( Bitmap::operator=( rAlphaMask ) ); }
-    AlphaMask&  operator=( AlphaMask&& rAlphaMask ) { return 
static_cast<AlphaMask&>( Bitmap::operator=( rAlphaMask ) ); }
+    AlphaMask&  operator=( AlphaMask&& rAlphaMask ) { return 
static_cast<AlphaMask&>( Bitmap::operator=( std::move(rAlphaMask) ) ); }
     bool        operator!() const { return Bitmap::operator!(); }
     bool        operator==( const AlphaMask& rAlphaMask ) const { return 
Bitmap::operator==( rAlphaMask ); }
     bool        operator!=( const AlphaMask& rAlphaMask ) const { return 
Bitmap::operator!=( rAlphaMask ); }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to