Forbid copy-assignment on WakeupFd and Event.

This commit is contained in:
Ryan Prichard 2016-04-07 18:05:34 -05:00
parent 25076e51a7
commit f647952a34
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ public:
private:
// Do not allow copying the Event object.
Event(const Event &other);
Event &operator=(const Event &other);
private:
HANDLE m_handle;

View File

@ -32,6 +32,7 @@ public:
private:
// Do not allow copying the WakeupFd object.
WakeupFd(const WakeupFd &other);
WakeupFd &operator=(const WakeupFd &other);
private:
int m_pipeReadFd;