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 --- test/read_mixer.cxx | 2 +- test/run_avahi.cxx | 2 +- test/run_inotify.cxx | 2 +- test/run_neighbor_explorer.cxx | 2 +- test/run_output.cxx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx index 1401a6a1e..095d9945d 100644 --- a/test/read_mixer.cxx +++ b/test/read_mixer.cxx @@ -115,7 +115,7 @@ int main(int argc, gcc_unused char **argv) g_thread_init(NULL); #endif - main_loop = new EventLoop(EventLoop::Default()); + main_loop = new EventLoop; Error error; Mixer *mixer = mixer_new(&alsa_mixer_plugin, nullptr, diff --git a/test/run_avahi.cxx b/test/run_avahi.cxx index d1c153cfd..b3b20365c 100644 --- a/test/run_avahi.cxx +++ b/test/run_avahi.cxx @@ -29,7 +29,7 @@ unsigned listen_port = 1234; int main(gcc_unused int argc, gcc_unused char **argv) { - EventLoop event_loop((EventLoop::Default())); + EventLoop event_loop; const ShutdownHandler shutdown_handler(event_loop); AvahiInit(event_loop, "test"); diff --git a/test/run_inotify.cxx b/test/run_inotify.cxx index 7d77372f0..df4046356 100644 --- a/test/run_inotify.cxx +++ b/test/run_inotify.cxx @@ -51,7 +51,7 @@ int main(int argc, char **argv) path = argv[1]; - EventLoop event_loop((EventLoop::Default())); + EventLoop event_loop; const ShutdownHandler shutdown_handler(event_loop); Error error; diff --git a/test/run_neighbor_explorer.cxx b/test/run_neighbor_explorer.cxx index 374114b11..c79948d6e 100644 --- a/test/run_neighbor_explorer.cxx +++ b/test/run_neighbor_explorer.cxx @@ -66,7 +66,7 @@ main(int argc, char **argv) /* initialize the core */ - EventLoop loop((EventLoop::Default())); + EventLoop loop; /* initialize neighbor plugins */ diff --git a/test/run_output.cxx b/test/run_output.cxx index 55fcf3698..23fd1ad3a 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -189,7 +189,7 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - main_loop = new EventLoop(EventLoop::Default()); + main_loop = new EventLoop(); io_thread_init(); io_thread_start(); -- cgit v1.2.3