forked from OSchip/llvm-project
[TextAPI][elfabi] Fix build by adding std::move() to r348735
llvm-svn: 348736
This commit is contained in:
parent
e353459549
commit
1186872789
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue