Commit 9d402050 authored by Max Kellermann's avatar Max Kellermann

event/SocketMonitor: make constructor "explicit"

parent 81350d65
...@@ -61,7 +61,7 @@ public: ...@@ -61,7 +61,7 @@ public:
typedef std::make_signed<size_t>::type ssize_t; typedef std::make_signed<size_t>::type ssize_t;
SocketMonitor(EventLoop &_loop) explicit SocketMonitor(EventLoop &_loop)
:loop(_loop) {} :loop(_loop) {}
SocketMonitor(SocketDescriptor _fd, EventLoop &_loop) SocketMonitor(SocketDescriptor _fd, EventLoop &_loop)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment