output/Control: allow copy elision (fix -Wpessimizing-move)
This commit is contained in:
parent
ba5531f9dd
commit
394f69bee1
|
@ -41,7 +41,7 @@ AudioOutputControl::AudioOutputControl(std::unique_ptr<FilteredAudioOutput> _out
|
|||
|
||||
AudioOutputControl::AudioOutputControl(AudioOutputControl *_output,
|
||||
AudioOutputClient &_client) noexcept
|
||||
:output(std::move(_output->Steal())),
|
||||
:output(_output->Steal()),
|
||||
name(output->GetName()),
|
||||
client(_client),
|
||||
thread(BIND_THIS_METHOD(Task))
|
||||
|
|
Loading…
Reference in New Issue