[llvm] r227042 - Orc/IRCompileLayer.h: Avoid non-static initializer.
NAKAMURA Takumi
geek4civic at gmail.com
Sun Jan 25 03:41:56 PST 2015
Author: chapuni
Date: Sun Jan 25 05:41:56 2015
New Revision: 227042
URL: http://llvm.org/viewvc/llvm-project?rev=227042&view=rev
Log:
Orc/IRCompileLayer.h: Avoid non-static initializer.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h?rev=227042&r1=227041&r2=227042&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h Sun Jan 25 05:41:56 2015
@@ -108,7 +108,8 @@ private:
if (!Obj)
return object::OwningBinary<object::ObjectFile>();
- return {std::move(*Obj), std::move(ObjBuffer)};
+ return object::OwningBinary<object::ObjectFile>(std::move(*Obj),
+ std::move(ObjBuffer));
}
BaseLayerT &BaseLayer;
More information about the llvm-commits
mailing list