event/Loop: use C++11 initializers

This commit is contained in:
Max Kellermann
2016-12-27 23:08:11 +01:00
parent fdb136f1fa
commit 018c5ef731
2 changed files with 5 additions and 10 deletions

View File

@@ -30,12 +30,7 @@
EventLoop::EventLoop()
:SocketMonitor(*this),
now_ms(::MonotonicClockMS()),
quit(false), busy(true),
#ifndef NDEBUG
virgin(true),
#endif
thread(ThreadId::Null())
now_ms(::MonotonicClockMS())
{
SocketMonitor::Open(wake_fd.Get());
SocketMonitor::Schedule(SocketMonitor::READ);