aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-04 23:56:24 +0100
committerMax Kellermann <max@duempel.org>2014-02-05 00:00:03 +0100
commit4a283330394fd2e1541a03bd312e5fadf54aa055 (patch)
treef4c861f3d940b0752d2163dcea5c1a7690f2b05f /src/event
parentad7f2b2aecd9b1d36e133429033fd8664d14e405 (diff)
downloadmpd-4a283330394fd2e1541a03bd312e5fadf54aa055.tar.gz
mpd-4a283330394fd2e1541a03bd312e5fadf54aa055.tar.xz
mpd-4a283330394fd2e1541a03bd312e5fadf54aa055.zip
event/Loop: remove the dummy constructor argument
Diffstat (limited to 'src/event')
-rw-r--r--src/event/Loop.cxx2
-rw-r--r--src/event/Loop.hxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx
index 6bbb6df8e..4ded68ff4 100644
--- a/src/event/Loop.cxx
+++ b/src/event/Loop.cxx
@@ -28,7 +28,7 @@
#include <algorithm>
-EventLoop::EventLoop(Default)
+EventLoop::EventLoop()
:SocketMonitor(*this),
now_ms(::MonotonicClockMS()),
quit(false), busy(true),
diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx
index 322c1ec82..56804dc81 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -115,9 +115,7 @@ class EventLoop final : SocketMonitor
ThreadId thread;
public:
- struct Default {};
-
- EventLoop(Default dummy=Default());
+ EventLoop();
~EventLoop();
/**