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:
Pull Request resolved: #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 2c4756c commit 90df90e
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 90df90e

Please sign in to comment.