mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-07 00:27:13 +01:00
Remove some naked new amd delete in: ondemand
This commit is contained in:
committed by
Paul Licameli
parent
f82ff73578
commit
473e955da3
@@ -51,7 +51,7 @@ class ODDecodeFlacTask final : public ODDecodeTask
|
||||
virtual ~ODDecodeFlacTask();
|
||||
|
||||
|
||||
std::unique_ptr<ODTask> Clone() const override;
|
||||
movable_ptr<ODTask> Clone() const override;
|
||||
///Creates an ODFileDecoder that decodes a file of filetype the subclass handles.
|
||||
ODFileDecoder* CreateFileDecoder(const wxString & fileName) override;
|
||||
|
||||
@@ -119,7 +119,7 @@ public:
|
||||
private:
|
||||
friend class FLACImportFileHandle;
|
||||
sampleFormat mFormat;
|
||||
ODFLACFile *mFile;
|
||||
std::unique_ptr<ODFLACFile> mFile;
|
||||
ODLock mFlacFileLock;//for mFile;
|
||||
wxFFile mHandle;
|
||||
unsigned long mSampleRate;
|
||||
|
||||
Reference in New Issue
Block a user