aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-06 11:25:42 +0000
committerGravatar Sadie Powell2020-02-06 11:25:42 +0000
commit98e4ddfb21d285c8b675788c155bb204822fbd4a (patch)
tree030eb18c989bf3c9e4768a538796e3221ca7934e /src/modules/m_permchannels.cpp
parentIn C++11 [io]fstream has std::string constructors; use them. (diff)
Use C++11 inline initialisation for class members.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp6
1 files changed, 2 insertions, 4 deletions
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)
{
}