event/MultiSocketMonitor: make ctor protected and explicit
This commit is contained in:
parent
951f916440
commit
23a3278b4e
|
@ -110,9 +110,10 @@ class MultiSocketMonitor
|
|||
std::forward_list<AlwaysReady> always_ready_fds;
|
||||
#endif
|
||||
|
||||
public:
|
||||
MultiSocketMonitor(EventLoop &_loop) noexcept;
|
||||
protected:
|
||||
explicit MultiSocketMonitor(EventLoop &_loop) noexcept;
|
||||
|
||||
public:
|
||||
EventLoop &GetEventLoop() const noexcept {
|
||||
return idle_event.GetEventLoop();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue