FDWatchers are non copiable and non movable
This commit is contained in:
parent
ba6f3b833b
commit
2a23ce1987
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user