From 4ef7ac3136e500fdd400e05d283d2e6abfcbeec5 Mon Sep 17 00:00:00 2001 From: generatedunixname1587093422349604 Date: Wed, 11 Feb 2026 15:38:02 -0800 Subject: [PATCH] Fix CQS signal modernize-use-designated-initializers in xplat/yoga/yoga/algorithm (#55522) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55522 Reviewed By: cortinico Differential Revision: D92810369 fbshipit-source-id: f2125a8fbaae3486b4a4ace59e513ce2a9367824 --- .../yoga/yoga/algorithm/CalculateLayout.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/react-native/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp b/packages/react-native/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp index fcc05313549..81a5f3b8a0b 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp +++ b/packages/react-native/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp @@ -339,13 +339,13 @@ static void measureNodeWithMeasureFunc( Event::publish( node, - {innerWidth, - unscopedEnum(measureMode(widthSizingMode)), - innerHeight, - unscopedEnum(measureMode(heightSizingMode)), - measuredSize.width, - measuredSize.height, - reason}); + {.width = innerWidth, + .widthMeasureMode = unscopedEnum(measureMode(widthSizingMode)), + .height = innerHeight, + .heightMeasureMode = unscopedEnum(measureMode(heightSizingMode)), + .measuredWidth = measuredSize.width, + .measuredHeight = measuredSize.height, + .reason = reason}); node->setLayoutMeasuredDimension( boundAxis(