Commit 4b30ef1c authored by Max Kellermann's avatar Max Kellermann

event/MultiSocketMonitor: use C++11 initializer

parent e92e5e8e
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#endif #endif
MultiSocketMonitor::MultiSocketMonitor(EventLoop &_loop) MultiSocketMonitor::MultiSocketMonitor(EventLoop &_loop)
:IdleMonitor(_loop), TimeoutMonitor(_loop), ready(false) { :IdleMonitor(_loop), TimeoutMonitor(_loop) {
} }
MultiSocketMonitor::~MultiSocketMonitor() MultiSocketMonitor::~MultiSocketMonitor()
......
...@@ -99,7 +99,7 @@ class MultiSocketMonitor : IdleMonitor, TimeoutMonitor ...@@ -99,7 +99,7 @@ class MultiSocketMonitor : IdleMonitor, TimeoutMonitor
/** /**
* DispatchSockets() should be called. * DispatchSockets() should be called.
*/ */
bool ready; bool ready = false;
/** /**
* PrepareSockets() should be called. * PrepareSockets() should be called.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment