diff options
Diffstat (limited to 'slideshow/source/engine/slide/shapemanagerimpl.hxx')
-rw-r--r-- | slideshow/source/engine/slide/shapemanagerimpl.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.hxx b/slideshow/source/engine/slide/shapemanagerimpl.hxx index 63dc1c79254e..9d8cd5170ecc 100644 --- a/slideshow/source/engine/slide/shapemanagerimpl.hxx +++ b/slideshow/source/engine/slide/shapemanagerimpl.hxx @@ -35,7 +35,6 @@ #include "shapelistenereventhandler.hxx" #include "mouseeventhandler.hxx" -#include <boost/noncopyable.hpp> #include <set> #include <map> #include <memory> @@ -53,8 +52,7 @@ class ShapeManagerImpl : public SubsettableShapeManager, public ShapeListenerEventHandler, public MouseEventHandler, public ViewUpdate, - public std::enable_shared_from_this<ShapeManagerImpl>, - private boost::noncopyable + public std::enable_shared_from_this<ShapeManagerImpl> { public: /** Create a shape event broadcaster @@ -69,6 +67,12 @@ public: const ShapeEventListenerMap& rGlobalListenersMap, const ShapeCursorMap& rGlobalCursorMap ); + /// Forbid copy construction + ShapeManagerImpl(const ShapeManagerImpl&) = delete; + + /// Forbid copy assignment + ShapeManagerImpl& operator=(const ShapeManagerImpl&) = delete; + /** Enables event listening. The initial slide content on the background layer |