aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/components
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-16 17:14:20 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-16 17:14:20 +0800
commit1ce8866e5b88da6cc4b7cd4d3440f7d70c7be5db (patch)
treec43f76eb308ed59570e61ed647371cce5e68d32e /include/cru/ui/components
parent1ef4651c4002eb3a155bcd36fed1e5b6b63b1c80 (diff)
downloadcru-1ce8866e5b88da6cc4b7cd4d3440f7d70c7be5db.tar.gz
cru-1ce8866e5b88da6cc4b7cd4d3440f7d70c7be5db.tar.bz2
cru-1ce8866e5b88da6cc4b7cd4d3440f7d70c7be5db.zip
Remove SelfResolvable.
Diffstat (limited to 'include/cru/ui/components')
-rw-r--r--include/cru/ui/components/Component.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/cru/ui/components/Component.h b/include/cru/ui/components/Component.h
index d44e6728..627e2d3c 100644
--- a/include/cru/ui/components/Component.h
+++ b/include/cru/ui/components/Component.h
@@ -1,7 +1,6 @@
#pragma once
#include "../Base.h"
#include "../DeleteLater.h"
-#include "cru/base/SelfResolvable.h"
namespace cru::ui::components {
/**
@@ -9,9 +8,7 @@ namespace cru::ui::components {
* \remarks Component should respect children's Component::IsDeleteByParent
* value and decide whether to delete it.
*/
-class CRU_UI_API Component : public Object,
- public SelfResolvable<Component>,
- public DeleteLaterImpl {
+class CRU_UI_API Component : public Object, public DeleteLaterImpl {
public:
Component() = default;
~Component() = default;