event/Loop: disallow copying
This commit is contained in:
parent
8050394003
commit
be20f760ab
@ -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().
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user