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