LayoutData - added explicit default fields values initialization #1802
Reference in New Issue
Block a user
No description provided.
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Explicit defaults add 'strictness' and take the guesswork out of what's going on in places like this:
6455a848a7/yoga/algorithm/CalculateLayout.cpp (L2345)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
@@ -36,12 +36,12 @@ enum struct LayoutPassReason : int {
};
nit: this is already default initialized
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@NickGerleman merged this pull request in facebook/yoga@51e6095005.
Pull request closed