1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 15:16:27 +01:00

Remove some naked new amd delete in: TrackPanel::mAx

This commit is contained in:
Paul Licameli
2016-08-02 21:24:53 -04:00
parent 20bee00115
commit 3b6dcfcc32
2 changed files with 13 additions and 7 deletions

View File

@@ -786,7 +786,11 @@ protected:
friend class TrackPanelAx;
TrackPanelAx *mAx;
#if wxUSE_ACCESSIBILITY
TrackPanelAx *mAx{};
#else
std::unique_ptr<TrackPanelAx> mAx;
#endif
public:
TrackPanelAx &GetAx() { return *mAx; }