From 5781e9a25ac58a23e6f7339963eb2868f7f1a89c Mon Sep 17 00:00:00 2001 From: CppQualityCommon Bot Date: Wed, 11 Feb 2026 06:12:08 -0800 Subject: [PATCH] Fix CQS signal modernize-use-designated-initializers in xplat/yoga/yoga/algorithm Reviewed By: cortinico Differential Revision: D92810369 --- .../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 fcc05313549221..81a5f3b8a0b68f 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(