Skip to content

Commit

Permalink
Fix missing assignment in Node move constructor (#42275)
Browse files Browse the repository at this point in the history
Summary:

X-link: facebook/yoga#1554

Adds recently added field missing from move constructor

Reviewed By: joevilches

Differential Revision: D52767525
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Jan 16, 2024
1 parent 258d8e5 commit f0109a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-native/ReactCommon/yoga/yoga/node/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit f0109a1

Please sign in to comment.