Skip to content

Commit 60b11ff

Browse files
committed
Use std::make_tuple instead of initializer list to fix Linux CI.
1 parent 9e09105 commit 60b11ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckAttr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3625,7 +3625,7 @@ void AttributeChecker::visitDerivativeAttr(DerivativeAttr *attr) {
36253625

36263626
// Reject duplicate `@derivative` attributes.
36273627
auto insertion = Ctx.DerivativeAttrs.try_emplace(
3628-
{originalAFD, resolvedWrtParamIndices, kind}, attr);
3628+
std::make_tuple(originalAFD, resolvedWrtParamIndices, kind), attr);
36293629
if (!insertion.second) {
36303630
diagnoseAndRemoveAttr(attr,
36313631
diag::derivative_attr_original_already_has_derivative,

0 commit comments

Comments
 (0)