Make gYGNodeDefaults const
Reviewed By: emilsjolander Differential Revision: D5675518 fbshipit-source-id: 72a6e208263dde0b6bb46a78fedb2796d0e0a600
This commit is contained in:
parent
0a4085b77c
commit
f0f25c57ca
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue