output/Control: use C++ initializers

This commit is contained in:
Max Kellermann 2021-10-22 20:17:24 +02:00
parent 9af73dad93
commit bba144eca5

View File

@ -46,10 +46,10 @@ AudioOutputControl::AudioOutputControl(AudioOutputControl &&src,
:output(src.Steal()),
name(output->GetName()),
client(_client),
thread(BIND_THIS_METHOD(Task))
thread(BIND_THIS_METHOD(Task)),
tags(src.tags),
always_on(src.always_on)
{
tags = src.tags;
always_on = src.always_on;
}
AudioOutputControl::~AudioOutputControl() noexcept