1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-08 14:13:57 +01:00

Store tracks in TrackList with shared_ptr ...

... but still use unique_ptr from track factories and importers.
This commit is contained in:
Paul Licameli
2017-06-22 19:25:46 -04:00
parent d52d8de296
commit 68dfdab843
4 changed files with 6 additions and 12 deletions

View File

@@ -415,7 +415,7 @@ protected:
private:
Effect *mpEffect{};
LabelTrack *mpTrack{};
movable_ptr<Track> mpOrigTrack{};
std::shared_ptr<Track> mpOrigTrack{};
};
// Set name to given value if that is not empty, else use default name