Orc/IRCompileLayer.h: Avoid non-static initializer.

llvm-svn: 227042
This commit is contained in:
NAKAMURA Takumi 2015-01-25 11:41:56 +00:00
parent 15029debe0
commit 2a8f2c490d

View File

@ -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;