From 5c805e494425a88da1813902b1ad8a1ab351e30d Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 5 Jul 2020 23:06:02 +0800 Subject: ... --- include/cru/ui/Window.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/ui/Window.hpp') diff --git a/include/cru/ui/Window.hpp b/include/cru/ui/Window.hpp index eb2ecfbb..450ea97b 100644 --- a/include/cru/ui/Window.hpp +++ b/include/cru/ui/Window.hpp @@ -6,7 +6,7 @@ class Window final : public ContentControl { friend UiHost; public: - static constexpr std::string_view control_type = "Window"; + static constexpr std::u16string_view control_type = u"Window"; public: static Window* CreateOverlapped(); @@ -24,7 +24,7 @@ class Window final : public ContentControl { ~Window() override; public: - std::string_view GetControlType() const final; + std::u16string_view GetControlType() const final; render::RenderObject* GetRenderObject() const override; -- cgit v1.2.3