Commit be20f760 authored by Max Kellermann's avatar Max Kellermann

event/Loop: disallow copying

parent 80503940
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_EVENT_LOOP_HXX #ifndef EVENT_LOOP_HXX
#define MPD_EVENT_LOOP_HXX #define EVENT_LOOP_HXX
#include "Chrono.hxx" #include "Chrono.hxx"
#include "Backend.hxx" #include "Backend.hxx"
...@@ -170,6 +170,9 @@ public: ...@@ -170,6 +170,9 @@ public:
~EventLoop() noexcept; ~EventLoop() noexcept;
EventLoop(const EventLoop &other) = delete;
EventLoop &operator=(const EventLoop &other) = delete;
/** /**
* A caching wrapper for Event::Clock::now(). * A caching wrapper for Event::Clock::now().
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment