mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
react-native | Fix inconsistent-missing-destructor-override warnings (#36887)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36887 changelog: [internal] Fixing inconsistent use of 'override' in destructors. Differential Revision: D44942615 fbshipit-source-id: 16336596d67442d9f1ca775cc8f97d35247a4257
This commit is contained in:
committed by
Facebook GitHub Bot
parent
130a951e2e
commit
6be4449a27
@@ -91,8 +91,6 @@ class ShadowNode : public Sealable,
|
||||
ShadowNode(ShadowNode const &shadowNode) noexcept = delete;
|
||||
ShadowNode &operator=(ShadowNode const &other) noexcept = delete;
|
||||
|
||||
virtual ~ShadowNode() = default;
|
||||
|
||||
/*
|
||||
* Clones the shadow node using stored `cloneFunction`.
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ class Scheduler final : public UIManagerDelegate {
|
||||
SchedulerToolbox const &schedulerToolbox,
|
||||
UIManagerAnimationDelegate *animationDelegate,
|
||||
SchedulerDelegate *delegate);
|
||||
~Scheduler();
|
||||
~Scheduler() override;
|
||||
|
||||
#pragma mark - Surface Management
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class UIManager final : public ShadowTreeDelegate {
|
||||
BackgroundExecutor backgroundExecutor,
|
||||
ContextContainer::Shared contextContainer);
|
||||
|
||||
~UIManager();
|
||||
~UIManager() override;
|
||||
|
||||
void setComponentDescriptorRegistry(
|
||||
const SharedComponentDescriptorRegistry &componentDescriptorRegistry);
|
||||
|
||||
@@ -37,7 +37,7 @@ class UIManagerBinding : public jsi::HostObject {
|
||||
|
||||
UIManagerBinding(std::shared_ptr<UIManager> uiManager);
|
||||
|
||||
~UIManagerBinding();
|
||||
~UIManagerBinding() override;
|
||||
|
||||
jsi::Value getInspectorDataForInstance(
|
||||
jsi::Runtime &runtime,
|
||||
|
||||
Reference in New Issue
Block a user