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