diff --git a/src/event_manager.hh b/src/event_manager.hh index 788827b8..e14468ba 100644 --- a/src/event_manager.hh +++ b/src/event_manager.hh @@ -19,6 +19,8 @@ public: int fd() const { return m_fd; } void run() { m_callback(*this); } private: + FDWatcher(const FDWatcher&) = delete; + int m_fd; Callback m_callback; };