event/MultiSocketMonitor: use C++11 initializer
This commit is contained in:
parent
e92e5e8eb8
commit
4b30ef1cf2
@ -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
|
|||||||
/**
|
/**
|
||||||
* DispatchSockets() should be called.
|
* DispatchSockets() should be called.
|
||||||
*/
|
*/
|
||||||
bool ready;
|
bool ready = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PrepareSockets() should be called.
|
* PrepareSockets() should be called.
|
||||||
|
Loading…
Reference in New Issue
Block a user