summaryrefslogtreecommitdiff
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-06-08 21:42:39 +0200
committerMax Kellermann <max@musicpd.org>2017-06-08 21:42:39 +0200
commit011106b517a9e46d9815beb6b33fb514fbee5568 (patch)
tree1b2cd03d964fe0971c0f6d778901ebdaa2998929 /src/mixer
parent7467b85019914156c7a1e1f919cdb05186a373d7 (diff)
mixer/Internal: use C++11 initializers
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/MixerInternal.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mixer/MixerInternal.hxx b/src/mixer/MixerInternal.hxx
index 4e2e50657..1191bea0c 100644
--- a/src/mixer/MixerInternal.hxx
+++ b/src/mixer/MixerInternal.hxx
@@ -42,19 +42,17 @@ public:
/**
* Is the mixer device currently open?
*/
- bool open;
+ bool open = false;
/**
* Has this mixer failed, and should not be reopened
* automatically?
*/
- bool failed;
+ bool failed = false;
public:
explicit Mixer(const MixerPlugin &_plugin, MixerListener &_listener)
- :plugin(_plugin), listener(_listener),
- open(false),
- failed(false) {}
+ :plugin(_plugin), listener(_listener) {}
Mixer(const Mixer &) = delete;