event/Loop: remove the dummy constructor argument
This commit is contained in:
@@ -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,
|
||||
|
@@ -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");
|
||||
|
@@ -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;
|
||||
|
@@ -66,7 +66,7 @@ main(int argc, char **argv)
|
||||
|
||||
/* initialize the core */
|
||||
|
||||
EventLoop loop((EventLoop::Default()));
|
||||
EventLoop loop;
|
||||
|
||||
/* initialize neighbor plugins */
|
||||
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user