mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Orc/IRCompileLayer.h: Avoid non-static initializer.
llvm-svn: 227042
This commit is contained in:
parent
15029debe0
commit
2a8f2c490d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user