*: add explicit

This commit is contained in:
Max Kellermann
2020-02-01 13:59:55 +01:00
parent 72ec641f0d
commit bc6eca2115
31 changed files with 32 additions and 32 deletions

View File

@@ -53,7 +53,7 @@ class SignalMonitor final : private SocketMonitor {
#endif
public:
SignalMonitor(EventLoop &_loop)
explicit SignalMonitor(EventLoop &_loop)
:SocketMonitor(_loop) {
#ifndef USE_SIGNALFD
SocketMonitor::Open(SocketDescriptor(fd.Get()));