projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e353459
)
[TextAPI][elfabi] Fix build by adding std::move() to r348735
author
Armando Montanez
<amontanez@google.com>
Mon, 10 Dec 2018 03:05:58 +0000
(
03:05
+0000)
committer
Armando Montanez
<amontanez@google.com>
Mon, 10 Dec 2018 03:05:58 +0000
(
03:05
+0000)
llvm-svn: 348736
llvm/lib/TextAPI/ELF/TBEHandler.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/TextAPI/ELF/TBEHandler.cpp
b/llvm/lib/TextAPI/ELF/TBEHandler.cpp
index
426e7bb
..
8eb60b5
100644
(file)
--- a/
llvm/lib/TextAPI/ELF/TBEHandler.cpp
+++ b/
llvm/lib/TextAPI/ELF/TBEHandler.cpp
@@
-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) {