1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-08 17:46:25 +01:00

Remove unnecessary std::move in return statements...

... and comment where it is necessary.
This commit is contained in:
Paul Licameli
2016-09-15 07:39:46 -04:00
parent 4b16705aa5
commit d783762737
18 changed files with 29 additions and 18 deletions

View File

@@ -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);
}

View File

@@ -332,6 +332,7 @@ std::unique_ptr<ImportFileHandle> FLACImportPlugin::Open(const wxString &filenam
return nullptr;
}
// This std::move is needed to "upcast" the pointer type
return std::move(handle);
}

View File

@@ -418,6 +418,7 @@ std::unique_ptr<ImportFileHandle> GStreamerImportPlugin::Open(const wxString &fi
return nullptr;
}
// This std::move is needed to "upcast" the pointer type
return std::move(handle);
}