event/SocketEvent: forbid copying
This commit is contained in:
parent
a60e782959
commit
418ba96334
@ -92,6 +92,9 @@ public:
|
||||
Cancel();
|
||||
}
|
||||
|
||||
SocketEvent(const SocketEvent &) = delete;
|
||||
SocketEvent &operator=(const SocketEvent &) = delete;
|
||||
|
||||
auto &GetEventLoop() const noexcept {
|
||||
return loop;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user