aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-06-17 14:36:00 +0000
committerDouglas Gregor <dgregor@apple.com>2011-06-17 14:36:00 +0000
commitc99f0ec89fd9782cfafd14d7b1b0a80151eab24a (patch)
tree68ea5904480176f05354a1a143806a3a179d126c
parent0502a224984a26087ea4d64e8e5d2dd4dca432f6 (diff)
Fix refactoro, silencing an MSVC warning. Thanks, Francois.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133257 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Sema/SemaTemplateDeduction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplateDeduction.cpp b/lib/Sema/SemaTemplateDeduction.cpp
index ef5a59a1cd..af359316da 100644
--- a/lib/Sema/SemaTemplateDeduction.cpp
+++ b/lib/Sema/SemaTemplateDeduction.cpp
@@ -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