Forbid copy-assignment on WakeupFd and Event.
This commit is contained in:
parent
25076e51a7
commit
f647952a34
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user