diff options
author | crupest <crupest@outlook.com> | 2022-02-10 19:49:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-10 19:49:06 +0800 |
commit | c1dbad5fdf0560983e6c832eddded6f610eae94e (patch) | |
tree | 40f22f7e6aa7ef39c49b1c007beed37130fc0b5d /include/cru/ui/controls/FlexLayout.h | |
parent | b2622f654598f82a220a98daaa84fed9ce3b92b2 (diff) | |
download | cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.gz cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.tar.bz2 cru-c1dbad5fdf0560983e6c832eddded6f610eae94e.zip |
...
Diffstat (limited to 'include/cru/ui/controls/FlexLayout.h')
-rw-r--r-- | include/cru/ui/controls/FlexLayout.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/cru/ui/controls/FlexLayout.h b/include/cru/ui/controls/FlexLayout.h index 15494742..148586c0 100644 --- a/include/cru/ui/controls/FlexLayout.h +++ b/include/cru/ui/controls/FlexLayout.h @@ -15,12 +15,8 @@ class CRU_UI_API FlexLayout public: static constexpr StringView kControlType = u"FlexLayout"; - static FlexLayout* Create() { return new FlexLayout(); } - - protected: - FlexLayout(); - public: + FlexLayout(); FlexLayout(const FlexLayout& other) = delete; FlexLayout(FlexLayout&& other) = delete; FlexLayout& operator=(const FlexLayout& other) = delete; |