Orc/IRCompileLayer.h: Avoid non-static initializer.
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / IRCompileLayer.h
index 1664adf893303bfa37adb9ef003f7fc479c7ffe6..f81af6fb7d074404194b9c37a0815cdbfee10f60 100644 (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;