summaryrefslogtreecommitdiff
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:59:55 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commitbc6eca2115d8d333eed61d23a01958926bbd7a9c (patch)
treef817a3c9779566c18157d01595db293dd63a70e1 /src/event
parent72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (diff)
*: add `explicit`
Diffstat (limited to 'src/event')
-rw-r--r--src/event/SignalMonitor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/SignalMonitor.cxx b/src/event/SignalMonitor.cxx
index 5d2bc7f65..236f19d03 100644
--- a/src/event/SignalMonitor.cxx
+++ b/src/event/SignalMonitor.cxx
@@ -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()));