diff --git a/src/event/WinSelectBackend.hxx b/src/event/WinSelectBackend.hxx index 3cd52d3d0..03a607890 100644 --- a/src/event/WinSelectBackend.hxx +++ b/src/event/WinSelectBackend.hxx @@ -103,8 +103,8 @@ public: WinSelectBackend() noexcept; ~WinSelectBackend() noexcept; - WinSelectBackend(WinSelectBackend &) = delete; - WinSelectBackend &operator=(WinSelectBackend &) = delete; + WinSelectBackend(const WinSelectBackend &) = delete; + WinSelectBackend &operator=(const WinSelectBackend &) = delete; PollResultGeneric ReadEvents(int timeout_ms) noexcept; bool Add(SOCKET fd, unsigned events, void *obj) noexcept;