1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-08 09:27:11 +01:00

Hold safer shared_ptrs to tracks in MixerBoard

This commit is contained in:
Paul Licameli
2018-02-05 20:32:22 -05:00
parent a663fefb8c
commit 1498958562
2 changed files with 18 additions and 17 deletions

View File

@@ -77,7 +77,7 @@ class MixerTrackCluster final : public wxPanelWrapper
public:
MixerTrackCluster(wxWindow* parent,
MixerBoard* grandParent, AudacityProject* project,
PlayableTrack* pTrack,
const std::shared_ptr<PlayableTrack> &pTrack,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize);
virtual ~MixerTrackCluster() {}
@@ -134,7 +134,7 @@ private:
public:
PlayableTrack * mTrack;
std::shared_ptr<PlayableTrack> mTrack;
private:
MixerBoard* mMixerBoard;