Skip to content

Commit 2843ad3

Browse files
committed
oups
1 parent 3604567 commit 2843ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaConcept.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,10 +1964,10 @@ void SubstituteParameterMappings::buildParameterMapping(
19641964
TemplateParams->getLAngleLoc(), UsedParams,
19651965
/*RAngleLoc=*/SourceLocation(),
19661966
/*RequiresClause=*/nullptr);
1967+
unsigned Size = OccurringIndices.count();
19671968
N.updateParameterMapping(
19681969
std::move(OccurringIndices), std::move(OccurringIndicesForSubsumption),
1969-
MutableArrayRef<TemplateArgumentLoc>{TempArgs, OccurringIndices.count()},
1970-
UsedList);
1970+
MutableArrayRef<TemplateArgumentLoc>{TempArgs, Size}, UsedList);
19711971
}
19721972

19731973
bool SubstituteParameterMappings::substitute(

0 commit comments

Comments
 (0)