vector instead of YGNodeList
Summary: Replaced YGNodeList with std::vector Reviewed By: jonathandann, emilsjolander Differential Revision: D6442379 fbshipit-source-id: d2d48ef0676351d2eeaa2d427dcd72e082cd15a1
This commit is contained in:
committed by
Facebook Github Bot
parent
91683be798
commit
03dd1d23fa
@@ -205,7 +205,7 @@ void YGNodeToString(
|
||||
}
|
||||
appendFormatedString(str, ">");
|
||||
|
||||
const uint32_t childCount = YGNodeListCount(node->children);
|
||||
const uint32_t childCount = node->children.size();
|
||||
if (options & YGPrintOptionsChildren && childCount > 0) {
|
||||
for (uint32_t i = 0; i < childCount; i++) {
|
||||
appendFormatedString(str, "\n");
|
||||
|
Reference in New Issue
Block a user