diff options
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 6f7063b98f..136183a0ac 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -425,11 +425,6 @@ OverloadCandidate::DeductionFailureInfo::getSecondArg() { } void OverloadCandidateSet::clear() { - for (iterator C = begin(), CEnd = end(); C != CEnd; ++C) { - if (C->FailureKind == ovl_fail_bad_deduction) - C->DeductionFailure.Destroy(); - } - inherited::clear(); Functions.clear(); } |