Skip to content

Commit

Permalink
Make gYGNodeDefaults const
Browse files Browse the repository at this point in the history
Reviewed By: emilsjolander

Differential Revision: D5675518

fbshipit-source-id: 72a6e208263dde0b6bb46a78fedb2796d0e0a600
  • Loading branch information
swolchok authored and facebook-github-bot committed Aug 22, 2017
1 parent 0a4085b commit f0f25c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactCommon/yoga/yoga/Yoga.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static const float kDefaultFlexGrow = 0.0f;
static const float kDefaultFlexShrink = 0.0f;
static const float kWebDefaultFlexShrink = 1.0f;

static YGNode gYGNodeDefaults = {
static const YGNode gYGNodeDefaults = {
.parent = NULL,
.children = NULL,
.hasNewLayout = true,
Expand Down

0 comments on commit f0f25c5

Please sign in to comment.