1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[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 9475b1bfc7
commit 5806bd8c23

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