From 98e4ddfb21d285c8b675788c155bb204822fbd4a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 6 Feb 2020 11:25:42 +0000 Subject: Use C++11 inline initialisation for class members. --- src/modules/m_permchannels.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/modules/m_permchannels.cpp') diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 1b572a574..252694952 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -169,16 +169,14 @@ class ModulePermanentChannels { PermChannel p; - bool dirty; - bool loaded; + bool dirty = false; + bool loaded = false; bool save_listmodes; public: ModulePermanentChannels() : Timer(0, true) , p(this) - , dirty(false) - , loaded(false) { } -- cgit v1.3.1-10-gc9f91