Fabric: Removed unnecessary const_cast leftovers

Summary: Trivial. If it compiles, it works.

Reviewed By: JoshuaGross

Differential Revision: D14146579

fbshipit-source-id: 6f6895d1634709a5bde012850c5df756171320ab
This commit is contained in:
Valentin Shergin
2019-02-21 10:36:11 -08:00
committed by Facebook Github Bot
parent 25566ef28b
commit 7b62dca921

View File

@@ -30,7 +30,7 @@ SharedShadowNode UIManager::createNode(
delegate_->uiManagerDidCreateShadowNode(shadowNode);
}
return std::const_pointer_cast<ShadowNode>(shadowNode);
return shadowNode;
}
SharedShadowNode UIManager::cloneNode(
@@ -51,7 +51,7 @@ SharedShadowNode UIManager::cloneNode(
.children = children,
});
return std::const_pointer_cast<ShadowNode>(clonedShadowNode);
return clonedShadowNode;
}
void UIManager::appendChild(