decoder/Control: use C++11 initializers
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user