mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 00:23:32 +02:00
Track duplication methods return unique_ptr, although some callers...
... simply release() them for now.
This commit is contained in:
@@ -132,7 +132,9 @@ class TimeTrack final : public Track {
|
||||
* @param orig the TimeTrack to copy from
|
||||
*/
|
||||
void Init(const TimeTrack &orig);
|
||||
Track *Duplicate() const override;
|
||||
|
||||
using Holder = std::unique_ptr<TimeTrack>;
|
||||
Track::Holder Duplicate() const override;
|
||||
|
||||
friend class TrackFactory;
|
||||
|
||||
|
Reference in New Issue
Block a user