Skip to content

Commit

Permalink
Fix missing assignment in Node move constructor (#1554)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebook/react-native#42275


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 19, 2024
1 parent 1541f9d commit c0e63ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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 c0e63ec

Please sign in to comment.