Work around GCC 4.8 -Werror=virtual-move-assign

...complaining that "defaulted move assignment for ‘cppcanvas::SpriteCanvas’
calls a non-trivial move assignment operator for virtual base
‘cppcanvas::BitmapCanvas’."

Change-Id: I4dc92176dbec62f0ae4fa7d2842073077ecb8fc3
This commit is contained in:
Stephan Bergmann 2013-03-08 12:07:11 +01:00
parent 72c62e0e83
commit 157ce65588

View file

@ -24,6 +24,7 @@
#include <osl/diagnose.h>
#include <basegfx/vector/b2dsize.hxx>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
@ -48,7 +49,7 @@ namespace cppcanvas
/** SpriteCanvas interface
*/
class SpriteCanvas : public virtual BitmapCanvas
class SpriteCanvas : public virtual BitmapCanvas, private boost::noncopyable
{
public:
virtual bool updateScreen( bool bUpdateAll ) const = 0;