Fix missing assignment in Node move constructor (#42275)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42275

X-link: https://github.com/facebook/yoga/pull/1554

Adds recently added field missing from move constructor

Reviewed By: joevilches

Differential Revision: D52767525

fbshipit-source-id: ec68452b058178967650bbef736562caafbf4a36
This commit is contained in:
Nick Gerleman
2024-01-19 09:46:08 -08:00
committed by Facebook GitHub Bot
parent 2c4756c8a3
commit 90df90efca
@@ -31,6 +31,7 @@ Node::Node(Node&& node) {
hasNewLayout_ = node.hasNewLayout_;
isReferenceBaseline_ = node.isReferenceBaseline_;
isDirty_ = node.isDirty_;
alwaysFormsContainingBlock_ = node.alwaysFormsContainingBlock_;
nodeType_ = node.nodeType_;
context_ = node.context_;
measureFunc_ = node.measureFunc_;