mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[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:
parent
914cfa4138
commit
2b804f8755
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user