mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
Fabric: Removed unused copy constructor YogaLayoutableShadowNode()
Summary: Trivial. We don't use it, and it shouldn't be exist by desing. Reviewed By: mdvacca Differential Revision: D7376351 fbshipit-source-id: 22f03af2b3596c274a22bab1fab6d8af854a7374
This commit is contained in:
parent
53782eafc9
commit
1bb6db36be
@ -31,13 +31,6 @@ SharedYogaConfig YogaLayoutableShadowNode::suitableYogaConfig() {
|
||||
return sharedYogaConfig;
|
||||
}
|
||||
|
||||
YogaLayoutableShadowNode::YogaLayoutableShadowNode() {
|
||||
auto yogaNode = std::make_shared<YGNode>();
|
||||
yogaNode->markDirtyAndPropogate();
|
||||
yogaNode->setConfig(suitableYogaConfig().get());
|
||||
yogaNode->setContext(this);
|
||||
yogaNode_ = yogaNode;
|
||||
}
|
||||
|
||||
YogaLayoutableShadowNode::YogaLayoutableShadowNode(
|
||||
const SharedYogaStylableProps &props,
|
||||
|
@ -40,7 +40,6 @@ class YogaLayoutableShadowNode:
|
||||
public:
|
||||
|
||||
#pragma mark - Constructors
|
||||
YogaLayoutableShadowNode();
|
||||
|
||||
YogaLayoutableShadowNode(
|
||||
const SharedYogaStylableProps &props,
|
||||
|
Loading…
x
Reference in New Issue
Block a user