Permalink
Browse files

Make gYGNodeDefaults const

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 f0f25c57cae6301a5244a7cb6a98a46390f5718d
Showing with 1 addition and 1 deletion.
  1. +1 −1 ReactCommon/yoga/yoga/Yoga.c
@@ -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,

0 comments on commit f0f25c5

Please sign in to comment.