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

Use a static unique_ptr for the global clipboard

This commit is contained in:
Paul Licameli
2016-03-13 10:56:40 -04:00
parent c5a70126eb
commit 7d1ea7b82e
3 changed files with 7 additions and 11 deletions

View File

@@ -549,7 +549,7 @@ public:
TrackList *mLastSavedTracks;
// Clipboard (static because it is shared by all projects)
static TrackList *msClipboard;
static std::unique_ptr<TrackList> msClipboard;
static AudacityProject *msClipProject;
static double msClipT0;
static double msClipT1;