1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-16 15:57:52 +01:00

Remove unnecessary std::move in return statements...

... and comment where it is necessary.
This commit is contained in:
Paul Licameli
2016-09-15 07:39:46 -04:00
parent 4b16705aa5
commit d783762737
18 changed files with 29 additions and 18 deletions

View File

@@ -39,6 +39,7 @@ movable_ptr<ODTask> ODDecodeFlacTask::Clone() const
clone->mDemandSample = GetDemandSample();
//the decoders and blockfiles should not be copied. They are created as the task runs.
// This std::move is needed to "upcast" the pointer type
return std::move(clone);
}