event/Loop: remove the dummy constructor argument
This commit is contained in:
@@ -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();
|
||||
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
EventLoop::EventLoop(Default)
|
||||
EventLoop::EventLoop()
|
||||
:SocketMonitor(*this),
|
||||
now_ms(::MonotonicClockMS()),
|
||||
quit(false), busy(true),
|
||||
|
@@ -115,9 +115,7 @@ class EventLoop final : SocketMonitor
|
||||
ThreadId thread;
|
||||
|
||||
public:
|
||||
struct Default {};
|
||||
|
||||
EventLoop(Default dummy=Default());
|
||||
EventLoop();
|
||||
~EventLoop();
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user