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:
committed by
Paul Licameli
parent
f82ff73578
commit
473e955da3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user