aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
-rw-r--r--lib/Sema/SemaInit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp
index 20c712fa29..4976bd466f 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -174,8 +174,8 @@ bool Sema::CheckInitializerTypes(Expr *&Init, QualType &DeclType,
if (!Constructor)
return true;
- Init = CXXConstructExpr::Create(Context, 0, DeclType, Constructor,
- false, &Init, 1);
+ Init = CXXConstructExpr::Create(Context, DeclType, Constructor, false,
+ &Init, 1);
return false;
}