diff options
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; |