Skip to content

Commit 4f5a8d4

Browse files
committed
[CSSimplify] Avoid using designated initializer for ArgumentInfo (currently unsupported on Windows)
1 parent 4a053b6 commit 4f5a8d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10588,9 +10588,8 @@ ConstraintSystem::simplifyRestrictedConstraintImpl(
1058810588
// Double <-> CGFloat conversion locations.
1058910589
if (!ArgumentInfos.count(memberLoc)) {
1059010590
auto &ctx = getASTContext();
10591-
ArgumentInfo callInfo{.Labels = ctx.Allocate<Identifier>(
10592-
1, AllocationArena::ConstraintSolver),
10593-
.UnlabeledTrailingClosureIndex = None};
10591+
ArgumentInfo callInfo{
10592+
ctx.Allocate<Identifier>(1, AllocationArena::ConstraintSolver), None};
1059410593
ArgumentInfos.insert({memberLoc, std::move(callInfo)});
1059510594
}
1059610595

0 commit comments

Comments
 (0)