[TextAPI][elfabi] Fix build by adding std::move() to r348735

llvm-svn: 348736
This commit is contained in:
Armando Montanez 2018-12-10 03:05:58 +00:00
parent e353459549
commit 1186872789
1 changed files with 1 additions and 1 deletions

View File

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