diff options
Diffstat (limited to 'slideshow/source/inc/delayevent.hxx')
-rw-r--r-- | slideshow/source/inc/delayevent.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/inc/delayevent.hxx b/slideshow/source/inc/delayevent.hxx index fd43d2991ea7..1389b806885e 100644 --- a/slideshow/source/inc/delayevent.hxx +++ b/slideshow/source/inc/delayevent.hxx @@ -21,8 +21,6 @@ #include "event.hxx" -#include <boost/noncopyable.hpp> - #include <functional> namespace slideshow { @@ -30,7 +28,7 @@ namespace internal { /** Event, which delays the functor call the given amount of time */ -class Delay : public Event, private ::boost::noncopyable +class Delay : public Event { public: typedef ::std::function<void ()> FunctorT; @@ -49,6 +47,8 @@ public: mnTimeout(nTimeout), maFunc(func), mbWasFired(false) {} + Delay(const Delay&) = delete; + Delay& operator=(const Delay&) = delete; // Event: virtual bool fire() override; |