mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06:32 +01:00
Remove unnecessary std::move in return statements...
... and comment where it is necessary.
This commit is contained in:
@@ -333,6 +333,7 @@ std::unique_ptr<ImportFileHandle> FFmpegImportPlugin::Open(const wxString &filen
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// This std::move is needed to "upcast" the pointer type
|
||||
return std::move(handle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user