Fix refactoro, silencing an MSVC warning. Thanks, Francois.

llvm-svn: 133257
This commit is contained in:
Douglas Gregor 2011-06-17 14:36:00 +00:00
parent fa384e6e3f
commit ddaae52a4e
1 changed files with 1 additions and 1 deletions

View File

@ -2350,7 +2350,7 @@ CheckOriginalCallArgDeduction(Sema &S, Sema::OriginalCallArg OriginalArg,
if (AQuals == DeducedAQuals) {
// Qualifiers match; there's nothing to do.
} else if (!DeducedAQuals.compatiblyIncludes(AQuals)) {
return Sema::TDK_SubstitutionFailure;
return true;
} else {
// Qualifiers are compatible, so have the argument type adopt the
// deduced argument type's qualifiers as if we had performed the