From 3b875091c445b7465b9bd044914318989a94d2ad Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 21 Nov 2025 21:43:42 +0800 Subject: Clean codes. Remove member function const. --- include/cru/ui/controls/ScrollView.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include/cru/ui/controls/ScrollView.h') diff --git a/include/cru/ui/controls/ScrollView.h b/include/cru/ui/controls/ScrollView.h index cefda747..181f4ba5 100644 --- a/include/cru/ui/controls/ScrollView.h +++ b/include/cru/ui/controls/ScrollView.h @@ -1,20 +1,13 @@ #pragma once #include "SingleChildControl.h" - #include "cru/ui/render/ScrollRenderObject.h" namespace cru::ui::controls { class CRU_UI_API ScrollView : public SingleChildControl { public: - static constexpr std::string_view kControlType = "ScrollView"; + static constexpr auto kControlName = "ScrollView"; ScrollView(); - CRU_DELETE_COPY(ScrollView) - CRU_DELETE_MOVE(ScrollView) - ~ScrollView() override; - - public: - std::string GetControlType() const override { return std::string(kControlType); } }; } // namespace cru::ui::controls -- cgit v1.2.3