diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index dddabd9aa..d8d9f637a 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_EVENT_LOOP_HXX -#define MPD_EVENT_LOOP_HXX +#ifndef EVENT_LOOP_HXX +#define EVENT_LOOP_HXX #include "Chrono.hxx" #include "Backend.hxx" @@ -170,6 +170,9 @@ public: ~EventLoop() noexcept; + EventLoop(const EventLoop &other) = delete; + EventLoop &operator=(const EventLoop &other) = delete; + /** * A caching wrapper for Event::Clock::now(). */