[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:
Alexander Shaposhnikov 2020-10-05 11:02:13 -07:00
parent c2bce848ec
commit 6e25586990
1 changed files with 1 additions and 1 deletions

View File

@ -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