Commit 418ba963 authored by Max Kellermann's avatar Max Kellermann

event/SocketEvent: forbid copying

parent a60e7829
......@@ -92,6 +92,9 @@ public:
Cancel();
}
SocketEvent(const SocketEvent &) = delete;
SocketEvent &operator=(const SocketEvent &) = delete;
auto &GetEventLoop() const noexcept {
return loop;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment