diff options
Diffstat (limited to 'include/cru/ui/controls/FlexLayout.hpp')
-rw-r--r-- | include/cru/ui/controls/FlexLayout.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/FlexLayout.hpp b/include/cru/ui/controls/FlexLayout.hpp index 4f6abfdb..f4e186db 100644 --- a/include/cru/ui/controls/FlexLayout.hpp +++ b/include/cru/ui/controls/FlexLayout.hpp @@ -4,7 +4,7 @@ namespace cru::ui::controls { class FlexLayout : public LayoutControl { public: - static constexpr std::u16string_view control_type = u"FlexLayout"; + static constexpr StringView control_type = u"FlexLayout"; static FlexLayout* Create() { return new FlexLayout(); } @@ -18,7 +18,7 @@ class FlexLayout : public LayoutControl { FlexLayout& operator=(FlexLayout&& other) = delete; ~FlexLayout() override; - std::u16string_view GetControlType() const final { return control_type; } + String GetControlType() const final { return control_type.ToString(); } render::RenderObject* GetRenderObject() const override; |