diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-08 12:07:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-09 13:03:06 +0100 |
commit | 157ce65588ec8ef4ff8f805f7b8a64fefdd9edec (patch) | |
tree | ac8f7b70495465ce2f29b1841221a8e92be3f25a | |
parent | 72c62e0e83598862e1c6e00e4264d7720aa94e41 (diff) |
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
-rw-r--r-- | cppcanvas/inc/cppcanvas/spritecanvas.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cppcanvas/inc/cppcanvas/spritecanvas.hxx b/cppcanvas/inc/cppcanvas/spritecanvas.hxx index 59aa3da91c2f..6a606b331edf 100644 --- a/cppcanvas/inc/cppcanvas/spritecanvas.hxx +++ b/cppcanvas/inc/cppcanvas/spritecanvas.hxx @@ -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; |