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
This commit is contained in:
Nick Gerleman
2023-12-17 02:58:54 -08:00
committed by Facebook GitHub Bot
parent a1751127ef
commit 3f3b909086

View File

@@ -215,7 +215,7 @@ class YG_EXPORT Style {
aspectRatio_ = value; aspectRatio_ = value;
} }
Length resolveColumnGap() const { Style::Length resolveColumnGap() const {
if (gap_[yoga::to_underlying(Gutter::Column)].isDefined()) { if (gap_[yoga::to_underlying(Gutter::Column)].isDefined()) {
return gap_[yoga::to_underlying(Gutter::Column)]; return gap_[yoga::to_underlying(Gutter::Column)];
} else { } else {