decoder/Control: use C++11 initializers

This commit is contained in:
Max Kellermann
2016-11-24 14:58:17 +01:00
parent b677e891b4
commit 9b9144f25d
2 changed files with 7 additions and 12 deletions

View File

@@ -28,12 +28,7 @@
#include <assert.h>
DecoderControl::DecoderControl(Mutex &_mutex, Cond &_client_cond)
:mutex(_mutex), client_cond(_client_cond),
state(DecoderState::STOP),
command(DecoderCommand::NONE),
client_is_waiting(false),
song(nullptr),
replay_gain_db(0), replay_gain_prev_db(0) {}
:mutex(_mutex), client_cond(_client_cond) {}
DecoderControl::~DecoderControl()
{