1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 03:03:10 +01:00

Remove some naked new amd delete in: ondemand

This commit is contained in:
Paul Licameli
2016-04-06 19:09:53 -04:00
committed by Paul Licameli
parent f82ff73578
commit 473e955da3
15 changed files with 112 additions and 127 deletions

View File

@@ -35,9 +35,9 @@ ODComputeSummaryTask::ODComputeSummaryTask()
mHasUpdateRan=false;
}
std::unique_ptr<ODTask> ODComputeSummaryTask::Clone() const
movable_ptr<ODTask> ODComputeSummaryTask::Clone() const
{
auto clone = std::make_unique<ODComputeSummaryTask>();
auto clone = make_movable<ODComputeSummaryTask>();
clone->mDemandSample = GetDemandSample();
return std::move(clone);
}