From 52a279aebab563dd96677ea243eb03b5f794311e Mon Sep 17 00:00:00 2001 From: CppQualityCommon Bot Date: Tue, 17 Nov 2026 07:22:15 -0800 Subject: [PATCH] Fix CQS signal modernize-use-auto in xplat/yoga/tests Differential Revision: D132520355 --- tests/YGFlexWrapRoundingTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/YGFlexWrapRoundingTest.cpp b/tests/YGFlexWrapRoundingTest.cpp index 4a306f8a63..ed8644452c 100644 --- a/tests/YGFlexWrapRoundingTest.cpp +++ b/tests/YGFlexWrapRoundingTest.cpp @@ -18,7 +18,7 @@ YGSize measureFractionalWidth( YGMeasureMode /*widthMode*/, float /*height*/, YGMeasureMode /*heightMode*/) { - const float* measuredWidth = + const auto* measuredWidth = static_cast(YGNodeGetContext(const_cast(node))); return YGSize{*measuredWidth, 20.0f}; }