event/SocketMonitor: make constructor "explicit"
This commit is contained in:
parent
81350d65bc
commit
9d4020501c
|
@ -61,7 +61,7 @@ public:
|
|||
|
||||
typedef std::make_signed<size_t>::type ssize_t;
|
||||
|
||||
SocketMonitor(EventLoop &_loop)
|
||||
explicit SocketMonitor(EventLoop &_loop)
|
||||
:loop(_loop) {}
|
||||
|
||||
SocketMonitor(SocketDescriptor _fd, EventLoop &_loop)
|
||||
|
|
Loading…
Reference in New Issue