[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:
Armando Montanez
2018-12-10 03:05:58 +00:00
parent 01342484a4
commit 5b453c95cd
+1 -1
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) {