mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
Separate Track::Clone (protected virtual) from Track::Duplicate
This commit is contained in:
@@ -115,6 +115,16 @@ void Track::Merge(const Track &orig)
|
||||
mSelected = orig.mSelected;
|
||||
}
|
||||
|
||||
Track::Holder Track::Duplicate() const
|
||||
{
|
||||
// invoke "virtual constructor" to copy track object proper:
|
||||
auto result = Clone();
|
||||
|
||||
// other steps to be added here
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Track::~Track()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user