aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/Container.h')
-rw-r--r--include/cru/ui/controls/Container.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/Container.h b/include/cru/ui/controls/Container.h
index c8bf3f32..4fee178d 100644
--- a/include/cru/ui/controls/Container.h
+++ b/include/cru/ui/controls/Container.h
@@ -8,7 +8,7 @@ namespace cru::ui::controls {
class CRU_UI_API Container
: public SingleChildControl<render::BorderRenderObject>,
public virtual IBorderControl {
- static constexpr StringView kControlType = u"Container";
+ static constexpr std::string_view kControlType = "Container";
public:
Container();
@@ -46,6 +46,6 @@ class CRU_UI_API Container
}
public:
- String GetControlType() const final { return kControlType.ToString(); }
+ std::string GetControlType() const final { return std::string(kControlType); }
};
} // namespace cru::ui::controls