From 2441fa284716ef782ec12dd0c2801548f8c47339 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Sun, 17 Dec 2023 02:58:54 -0800 Subject: [PATCH] Change Style::resolveColumnGap() return from Length to Style::Length Summary: X-link: https://github.com/facebook/yoga/pull/1525 Accidentally left this inconsistent with some of the refactoring. Rename the lone usage of `Length` within Style class to `Style::Length` to match the rest of the code. This is functionally identical as before. Changelog: [Internal] bypass-github-export-checks Reviewed By: yungsters Differential Revision: D52096820 fbshipit-source-id: d6c569a02fb27a6e7548a9c12ff764afb823a282 --- packages/react-native/ReactCommon/yoga/yoga/style/Style.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/yoga/yoga/style/Style.h b/packages/react-native/ReactCommon/yoga/yoga/style/Style.h index ea3680aa441bc1..b7fd8335d648ec 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/style/Style.h +++ b/packages/react-native/ReactCommon/yoga/yoga/style/Style.h @@ -215,7 +215,7 @@ class YG_EXPORT Style { aspectRatio_ = value; } - Length resolveColumnGap() const { + Style::Length resolveColumnGap() const { if (gap_[yoga::to_underlying(Gutter::Column)].isDefined()) { return gap_[yoga::to_underlying(Gutter::Column)]; } else {