diff --git a/src/event/MultiSocketMonitor.hxx b/src/event/MultiSocketMonitor.hxx index 0b84b52bf..c543388a2 100644 --- a/src/event/MultiSocketMonitor.hxx +++ b/src/event/MultiSocketMonitor.hxx @@ -110,9 +110,10 @@ class MultiSocketMonitor std::forward_list always_ready_fds; #endif -public: - MultiSocketMonitor(EventLoop &_loop) noexcept; +protected: + explicit MultiSocketMonitor(EventLoop &_loop) noexcept; +public: EventLoop &GetEventLoop() const noexcept { return idle_event.GetEventLoop(); }