Skip to content

Commit

Permalink
Change order
Browse files Browse the repository at this point in the history
  • Loading branch information
j-piasecki committed Jun 5, 2024
1 parent 94a6fb5 commit 225a1a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ ShadowNode::Unshared ShadowNode::cloneTree(

childNode = parentNode.clone(
{.children = std::make_shared<ShadowNode::ListOfShared>(children),
.traits = traits,
.state = parentNode.getState()});
.state = parentNode.getState(),
.traits = traits});
}

return std::const_pointer_cast<ShadowNode>(childNode);
Expand Down

0 comments on commit 225a1a6

Please sign in to comment.