mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
Remove the naked new in allocation of AudacityProject
This commit is contained in:
@@ -110,7 +110,9 @@ void GetDefaultWindowRect(wxRect *defRect);
|
||||
void GetNextWindowPlacement(wxRect *nextRect, bool *pMaximized, bool *pIconized);
|
||||
bool IsWindowAccessible(wxRect *requestedRect);
|
||||
|
||||
WX_DEFINE_ARRAY(AudacityProject *, AProjectArray);
|
||||
using AProjectHolder =
|
||||
movable_ptr_with_deleter< AudacityProject, Destroyer< AudacityProject > >;
|
||||
using AProjectArray = std::vector< AProjectHolder >;
|
||||
|
||||
extern AProjectArray gAudacityProjects;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user