event/SocketMonitor: make constructor "explicit"

This commit is contained in:
Max Kellermann 2017-11-10 20:17:27 +01:00
parent 81350d65bc
commit 9d4020501c
1 changed files with 1 additions and 1 deletions

View File

@ -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)