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:
parent
72c62e0e83
commit
157ce65588
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue