Commit 011106b5 authored by Max Kellermann's avatar Max Kellermann

mixer/Internal: use C++11 initializers

parent 7467b850
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment