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;
|
std::forward_list<AlwaysReady> always_ready_fds;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
protected:
|
||||||
MultiSocketMonitor(EventLoop &_loop) noexcept;
|
explicit MultiSocketMonitor(EventLoop &_loop) noexcept;
|
||||||
|
|
||||||
|
public:
|
||||||
EventLoop &GetEventLoop() const noexcept {
|
EventLoop &GetEventLoop() const noexcept {
|
||||||
return idle_event.GetEventLoop();
|
return idle_event.GetEventLoop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue