diff options
author | Juergen Ributzka <juergen@ributzka.de> | 2019-03-22 23:10:51 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@ributzka.de> | 2019-03-22 23:10:51 +0000 |
commit | b0ae52d814d7de99a06c45c8be43db7536434a94 (patch) | |
tree | d822e886cc3bc876b4fa898e06d2d8143890ef51 /llvm/lib/TextAPI/MachO/TextStub.cpp | |
parent | d1c5b28c2aecd81c5746e733cbf74e82bf9266f0 (diff) | |
download | bcm5719-llvm-b0ae52d814d7de99a06c45c8be43db7536434a94.tar.gz bcm5719-llvm-b0ae52d814d7de99a06c45c8be43db7536434a94.zip |
Followup for r356820 to fix the bots.
Try using a move constructor instead.
llvm-svn: 356823
Diffstat (limited to 'llvm/lib/TextAPI/MachO/TextStub.cpp')
-rw-r--r-- | llvm/lib/TextAPI/MachO/TextStub.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TextAPI/MachO/TextStub.cpp b/llvm/lib/TextAPI/MachO/TextStub.cpp index 735040bc3bf..799ebdc883a 100644 --- a/llvm/lib/TextAPI/MachO/TextStub.cpp +++ b/llvm/lib/TextAPI/MachO/TextStub.cpp @@ -638,7 +638,7 @@ TextAPIReader::get(std::unique_ptr<MemoryBuffer> InputBuffer) { if (YAMLIn.error()) return make_error<StringError>(Ctx.ErrorMessage, YAMLIn.error()); - return File; + return std::move(File); } Error TextAPIWriter::writeToStream(raw_ostream &OS, const InterfaceFile &File) { |