Make gYGNodeDefaults const

Reviewed By: emilsjolander

Differential Revision: D5675518

fbshipit-source-id: 72a6e208263dde0b6bb46a78fedb2796d0e0a600
This commit is contained in:
Scott Wolchok 2017-08-22 11:54:13 -07:00 committed by Facebook Github Bot
parent 0a4085b77c
commit f0f25c57ca
1 changed files with 1 additions and 1 deletions

View File

@ -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,