mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
Mac build fixes; and implement deleters for our imitation unique_ptr
This commit is contained in:
@@ -323,13 +323,13 @@ std::unique_ptr<ImportFileHandle> FFmpegImportPlugin::Open(const wxString &filen
|
||||
}
|
||||
if (!FFmpegLibsInst->ValidLibsLoaded())
|
||||
{
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Open the file for import
|
||||
bool success = handle->Init();
|
||||
if (!success) {
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return std::move(handle);
|
||||
|
||||
Reference in New Issue
Block a user