From ac28bd12bbbe56ab17cfaaa2e5dca107c78d49eb Mon Sep 17 00:00:00 2001 From: CodemodService Bot Date: Tue, 28 Oct 2025 18:36:06 -0700 Subject: [PATCH] Fix CQS signal modernize-use-designated-initializers in xplat/yoga/yoga/algorithm [B] (#54250) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54250 Reviewed By: christophpurrer Differential Revision: D85212259 --- .../react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp b/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp index dc0a300add2..3b10173d563 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp +++ b/packages/react-native/ReactCommon/yoga/yoga/algorithm/FlexLine.cpp @@ -116,8 +116,8 @@ FlexLine calculateFlexLine( .sizeConsumed = sizeConsumed, .numberOfAutoMargins = numberOfAutoMargins, .layout = FlexLineRunningLayout{ - totalFlexGrowFactors, - totalFlexShrinkScaledFactors, + .totalFlexGrowFactors = totalFlexGrowFactors, + .totalFlexShrinkScaledFactors = totalFlexShrinkScaledFactors, }}; }