diff options
Diffstat (limited to 'include/vcl/alpha.hxx')
-rw-r--r-- | include/vcl/alpha.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx index 738bd5a18e8a..9e3f49784bd5 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 ); } |