1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 08:33:36 +02:00

Manage TrackControls and TrackVRulerControls by shared_ptr; ...

... they are not singletons; and the back-pointers to their Tracks are weak.
This commit is contained in:
Paul Licameli
2017-06-23 17:33:45 -04:00
parent c355b82dc6
commit 35ce499ce1
33 changed files with 117 additions and 172 deletions

View File

@@ -153,8 +153,8 @@ class TimeTrack final : public Track {
friend class TrackFactory;
protected:
TrackControls *GetControls() override;
TrackVRulerControls *GetVRulerControls() override;
std::shared_ptr<TrackControls> GetControls() override;
std::shared_ptr<TrackVRulerControls> GetVRulerControls() override;
};