mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 11:13:16 +01:00
Track duplication methods return unique_ptr, although some callers...
... simply release() them for now.
This commit is contained in:
@@ -109,9 +109,9 @@ TimeTrack::~TimeTrack()
|
||||
delete mRuler;
|
||||
}
|
||||
|
||||
Track *TimeTrack::Duplicate() const
|
||||
Track::Holder TimeTrack::Duplicate() const
|
||||
{
|
||||
return new TimeTrack(*this);
|
||||
return std::make_unique<TimeTrack>(*this);
|
||||
}
|
||||
|
||||
bool TimeTrack::GetInterpolateLog() const
|
||||
|
||||
Reference in New Issue
Block a user