From 4a283330394fd2e1541a03bd312e5fadf54aa055 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 23:56:24 +0100 Subject: event/Loop: remove the dummy constructor argument --- src/event/Loop.cxx | 2 +- src/event/Loop.hxx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/event') 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 -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(); /** -- cgit v1.2.3