diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-27 17:18:13 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-27 17:18:13 +0000 |
commit | d28b42862bc627f4fc1430b4a1919b304800dc1c (patch) | |
tree | 0ec4ba9485612246b2cb0fe089d041368460d15e /lib/Sema/SemaExprCXX.cpp | |
parent | 2974b5cd2669877139e45439084de540d082127a (diff) |
Remove default argument from TryCopyInitialization.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r-- | lib/Sema/SemaExprCXX.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp index 85924948da..870041dc87 100644 --- a/lib/Sema/SemaExprCXX.cpp +++ b/lib/Sema/SemaExprCXX.cpp @@ -1228,7 +1228,9 @@ static bool TryClassUnification(Sema &Self, Expr *From, Expr *To, // Could still fail if there's no copy constructor. // FIXME: Is this a hard error then, or just a conversion failure? The // standard doesn't say. - ICS = Self.TryCopyInitialization(From, TTy); + ICS = Self.TryCopyInitialization(From, TTy, + /*SuppressUserConversions=*/false, + /*ForceRValue=*/false); } } else { // -- Otherwise: E1 can be converted to match E2 if E1 can be |