forked from OSchip/llvm-project
[llvm-objcopy][MachO] Add missing std::move.
This change fixes the build issue introduced by 32c8435ef7
(detected by the buildbot fuchsia-x86_64-linux).
Test plan: make check-all
This commit is contained in:
parent
c2bce848ec
commit
6e25586990
|
@ -187,7 +187,7 @@ createNewArchiveMembers(CopyConfig &Config, const Archive &Ar) {
|
|||
}
|
||||
if (Err)
|
||||
return createFileError(Config.InputFilename, std::move(Err));
|
||||
return NewArchiveMembers;
|
||||
return std::move(NewArchiveMembers);
|
||||
}
|
||||
|
||||
} // end namespace objcopy
|
||||
|
|
Loading…
Reference in New Issue