Skip to content

Commit

Permalink
Change Style::resolveColumnGap() return from Length to Style::Length (#…
Browse files Browse the repository at this point in the history
…1525)

Summary:
Pull Request resolved: #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
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Dec 17, 2023
1 parent a175112 commit 3f3b909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yoga/style/Style.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3f3b909

Please sign in to comment.