1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

OverlayPanel uses weak_ptr to Overlay, which simplifies other dtors

This commit is contained in:
Paul Licameli
2019-01-23 20:53:37 -05:00
parent ac2fecf151
commit f7162d3326
10 changed files with 50 additions and 85 deletions

View File

@@ -193,7 +193,7 @@ private:
// Cooperating objects
class QuickPlayIndicatorOverlay;
std::unique_ptr<QuickPlayIndicatorOverlay> mOverlay;
std::shared_ptr<QuickPlayIndicatorOverlay> mOverlay;
class QuickPlayRulerOverlay;