Skip to content

Commit

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

X-link: facebook/yoga#1554

Adds recently added field missing from move constructor

Reviewed By: joevilches

Differential Revision: D52767525

fbshipit-source-id: ec68452b058178967650bbef736562caafbf4a36
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Jan 19, 2024
1 parent 68c8368 commit 0bfed13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/yoga/src/main/cpp/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 0bfed13

Please sign in to comment.