aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Main.cxx2
-rw-r--r--src/event/Loop.cxx2
-rw-r--r--src/event/Loop.hxx4
3 files changed, 3 insertions, 5 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index fd10d2253..1bee66ca8 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -411,7 +411,7 @@ int mpd_main(int argc, char *argv[])
}
main_thread = ThreadId::GetCurrent();
- main_loop = new EventLoop(EventLoop::Default());
+ main_loop = new EventLoop();
instance = new Instance();
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();
/**