mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Remove some naked new amd delete in: various
This commit is contained in:
committed by
Paul Licameli
parent
186679b3a6
commit
942c62b6f6
@@ -16,6 +16,8 @@
|
||||
|
||||
#if defined(EXPERIMENTAL_DEVICE_CHANGE_HANDLER)
|
||||
|
||||
#include "MemoryX.h"
|
||||
|
||||
#if defined(__WXMSW__) || defined(__WXMAC__) || defined(HAVE_LIBUDEV_H)
|
||||
#define HAVE_DEVICE_CHANGE
|
||||
#endif
|
||||
@@ -48,7 +50,7 @@ private:
|
||||
void OnChange(wxCommandEvent & evt);
|
||||
void OnTimer(wxTimerEvent & evt);
|
||||
|
||||
DeviceChangeInterface *mListener;
|
||||
std::unique_ptr<DeviceChangeInterface> mListener;
|
||||
wxTimer mTimer;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
Reference in New Issue
Block a user