From 3f3b909086d3b01fcabb7e005ae25ad0b0d10ecc 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 (#1525) Summary: Pull Request resolved: 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 --- yoga/style/Style.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yoga/style/Style.h b/yoga/style/Style.h index ea3680aa..b7fd8335 100644 --- a/yoga/style/Style.h +++ b/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 {