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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user