[LinkerWrapper][Obvious] Fix move on temporary object

Summary:
This causes warnings because it is already a temporary and does not need
to be moved.
This commit is contained in:
Joseph Huber 2024-01-18 10:41:45 -06:00
parent 914cfa4138
commit 2b804f8755

View File

@ -1439,7 +1439,7 @@ getDeviceInput(const ArgList &Args) {
if (Index == CompatibleTargets.size() - 1)
InputFiles[ID].emplace_back(std::move(Binary));
else
InputFiles[ID].emplace_back(std::move(Binary.copy()));
InputFiles[ID].emplace_back(Binary.copy());
}
// If we extracted any files we need to check all the symbols again.