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
@@ -235,7 +235,8 @@ TEST(YogaTest, cloning_and_freeing) {
|
||||
|
||||
const YGNodeRef root2 = YGNodeClone(root);
|
||||
|
||||
// Freeing the original root should be safe as long as we don't free its children.
|
||||
// Freeing the original root should be safe as long as we don't free its
|
||||
// children.
|
||||
YGNodeFree(root);
|
||||
|
||||
YGNodeCalculateLayout(root2, YGUndefined, YGUndefined, YGDirectionLTR);
|
||||
|
Reference in New Issue
Block a user