diff --git a/ReactCommon/fabric/core/state/StateCoordinator.h b/ReactCommon/fabric/core/state/StateCoordinator.h index e1d652ef064..8fbf7b959bc 100644 --- a/ReactCommon/fabric/core/state/StateCoordinator.h +++ b/ReactCommon/fabric/core/state/StateCoordinator.h @@ -16,8 +16,6 @@ namespace facebook { namespace react { -class ShadowNode; - /* * Coordinates a vision of the same state values between shadow nodes from * the same family. diff --git a/ReactCommon/fabric/core/state/StateTarget.h b/ReactCommon/fabric/core/state/StateTarget.h index 5ea5aedd712..de847e8ae64 100644 --- a/ReactCommon/fabric/core/state/StateTarget.h +++ b/ReactCommon/fabric/core/state/StateTarget.h @@ -24,12 +24,12 @@ class StateTarget { /* * Creates an empty target. */ - StateTarget(); + explicit StateTarget(); /* * Creates a target which points to a given `ShadowNode`. */ - StateTarget(const ShadowNode &shadowNode); + explicit StateTarget(const ShadowNode &shadowNode); /* * Copyable and moveable.