event/Loop: disallow copying

This commit is contained in:
Max Kellermann 2020-12-01 20:18:20 +01:00
parent 8050394003
commit be20f760ab

View File

@ -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().
*/