aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/StackLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/StackLayout.h')
-rw-r--r--include/cru/ui/controls/StackLayout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/StackLayout.h b/include/cru/ui/controls/StackLayout.h
index cbf35cbe..db646807 100644
--- a/include/cru/ui/controls/StackLayout.h
+++ b/include/cru/ui/controls/StackLayout.h
@@ -9,13 +9,13 @@ using render::StackChildLayoutData;
class CRU_UI_API StackLayout
: public LayoutControl<render::StackLayoutRenderObject> {
public:
- static constexpr StringView kControlType = u"StackLayout";
+ static constexpr std::string_view kControlType = "StackLayout";
StackLayout();
CRU_DELETE_COPY(StackLayout)
CRU_DELETE_MOVE(StackLayout)
~StackLayout() override;
- String GetControlType() const final { return kControlType.ToString(); }
+ std::string GetControlType() const final { return std::string(kControlType); }
};
} // namespace cru::ui::controls