diff options
author | Max Kellermann <max@duempel.org> | 2014-02-04 23:56:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 00:00:03 +0100 |
commit | 4a283330394fd2e1541a03bd312e5fadf54aa055 (patch) | |
tree | f4c861f3d940b0752d2163dcea5c1a7690f2b05f /test | |
parent | ad7f2b2aecd9b1d36e133429033fd8664d14e405 (diff) | |
download | mpd-4a283330394fd2e1541a03bd312e5fadf54aa055.tar.gz mpd-4a283330394fd2e1541a03bd312e5fadf54aa055.tar.xz mpd-4a283330394fd2e1541a03bd312e5fadf54aa055.zip |
event/Loop: remove the dummy constructor argument
Diffstat (limited to 'test')
-rw-r--r-- | test/read_mixer.cxx | 2 | ||||
-rw-r--r-- | test/run_avahi.cxx | 2 | ||||
-rw-r--r-- | test/run_inotify.cxx | 2 | ||||
-rw-r--r-- | test/run_neighbor_explorer.cxx | 2 | ||||
-rw-r--r-- | test/run_output.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
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(); |