FDWatchers are non copiable and non movable

This commit is contained in:
Maxime Coste 2014-03-25 09:15:56 +00:00
parent ba6f3b833b
commit 2a23ce1987

View File

@ -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;
};