diff --git a/ReactCommon/yoga/yoga/Yoga.c b/ReactCommon/yoga/yoga/Yoga.c index 597fe4171..f8e20e65b 100644 --- a/ReactCommon/yoga/yoga/Yoga.c +++ b/ReactCommon/yoga/yoga/Yoga.c @@ -503,7 +503,7 @@ YGNodeRef YGNodeGetParent(const YGNodeRef node) { return node->parent; } -inline uint32_t YGNodeGetChildCount(const YGNodeRef node) { +uint32_t YGNodeGetChildCount(const YGNodeRef node) { return YGNodeListCount(node->children); }