mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-18 13:16:24 -04:00
[TextAPI][elfabi] Fix build by adding std::move() to r348735
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -149,7 +149,7 @@ Expected<std::unique_ptr<ELFStub>> elfabi::readTBEFromBuffer(StringRef Buf) {
|
||||
if (std::error_code Err = YamlIn.error())
|
||||
return createStringError(Err, "YAML failed reading as TBE");
|
||||
|
||||
return Stub;
|
||||
return std::move(Stub);
|
||||
}
|
||||
|
||||
Error elfabi::writeTBEToOutputStream(raw_ostream &OS, const ELFStub &Stub) {
|
||||
|
||||
Reference in New Issue
Block a user