Orc/IRCompileLayer.h: Avoid non-static initializer.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 25 Jan 2015 11:41:56 +0000 (11:41 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 25 Jan 2015 11:41:56 +0000 (11:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227042 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/IRCompileLayer.h

index 1664adf..f81af6f 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;