[llvm] r315349 - Try to make gcc happy.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 10 12:27:51 PDT 2017
Author: rafael
Date: Tue Oct 10 12:27:51 2017
New Revision: 315349
URL: http://llvm.org/viewvc/llvm-project?rev=315349&view=rev
Log:
Try to make gcc happy.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp?rev=315349&r1=315348&r2=315349&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp Tue Oct 10 12:27:51 2017
@@ -164,7 +164,7 @@ createRTDyldELFObject(MemoryBufferRef Bu
++SI;
}
- return Obj;
+ return std::move(Obj);
}
static OwningBinary<ObjectFile>
More information about the llvm-commits
mailing list