From 4b30ef1cf216df3d5395033c2ad7cfaff4aeaa51 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 9 Feb 2017 20:45:29 +0100 Subject: event/MultiSocketMonitor: use C++11 initializer --- src/event/MultiSocketMonitor.cxx | 2 +- src/event/MultiSocketMonitor.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/MultiSocketMonitor.cxx b/src/event/MultiSocketMonitor.cxx index aa8450da8..9a28dd71d 100644 --- a/src/event/MultiSocketMonitor.cxx +++ b/src/event/MultiSocketMonitor.cxx @@ -28,7 +28,7 @@ #endif MultiSocketMonitor::MultiSocketMonitor(EventLoop &_loop) - :IdleMonitor(_loop), TimeoutMonitor(_loop), ready(false) { + :IdleMonitor(_loop), TimeoutMonitor(_loop) { } MultiSocketMonitor::~MultiSocketMonitor() diff --git a/src/event/MultiSocketMonitor.hxx b/src/event/MultiSocketMonitor.hxx index f138fa31c..d6c400b9e 100644 --- a/src/event/MultiSocketMonitor.hxx +++ b/src/event/MultiSocketMonitor.hxx @@ -99,7 +99,7 @@ class MultiSocketMonitor : IdleMonitor, TimeoutMonitor /** * DispatchSockets() should be called. */ - bool ready; + bool ready = false; /** * PrepareSockets() should be called. -- cgit v1.2.3