diff --git a/frameworks/core/components_ng/manager/form_visible/form_visible_manager.cpp b/frameworks/core/components_ng/manager/form_visible/form_visible_manager.cpp index 728e4186ef9..93b3820b540 100644 --- a/frameworks/core/components_ng/manager/form_visible/form_visible_manager.cpp +++ b/frameworks/core/components_ng/manager/form_visible/form_visible_manager.cpp @@ -16,7 +16,8 @@ #include "core/components_ng/manager/form_visible/form_visible_manager.h" namespace OHOS::Ace::NG { -void FormVisibleManager::AddFormVisibleChangeNode(const RefPtr& node, const std::function& callback) +void FormVisibleManager::AddFormVisibleChangeNode(const RefPtr& node, + const std::function& callback) { CHECK_NULL_VOID(node); onFormVisibleChangeNodeIds_.emplace(node->GetId()); diff --git a/frameworks/core/components_ng/manager/form_visible/form_visible_manager.h b/frameworks/core/components_ng/manager/form_visible/form_visible_manager.h index a4c0e5b71fb..669e53d145c 100644 --- a/frameworks/core/components_ng/manager/form_visible/form_visible_manager.h +++ b/frameworks/core/components_ng/manager/form_visible/form_visible_manager.h @@ -21,8 +21,6 @@ #include "core/components_ng/base/frame_node.h" namespace OHOS::Ace::NG { - - class FormVisibleManager : public virtual AceType { DECLARE_ACE_TYPE(FormVisibleManager, AceType); public: