Make gYGNodeDefaults const
Summary: At least one compiler seems to care about it. Reviewed By: emilsjolander Differential Revision: D5675518 fbshipit-source-id: 72a6e208263dde0b6bb46a78fedb2796d0e0a600
This commit is contained in:
committed by
Facebook Github Bot
parent
35a9f33abb
commit
c79c5e3c9d
@@ -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,
|
||||
|
Reference in New Issue
Block a user