aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/FlexLayout.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-05 23:06:02 +0800
committercrupest <crupest@outlook.com>2020-07-05 23:06:02 +0800
commit5c805e494425a88da1813902b1ad8a1ab351e30d (patch)
treebe3cfd96dcac19db3e256d610d48b5083c489a6c /include/cru/ui/controls/FlexLayout.hpp
parentbbec59718bf8a824583869126762013112f8e568 (diff)
downloadcru-5c805e494425a88da1813902b1ad8a1ab351e30d.tar.gz
cru-5c805e494425a88da1813902b1ad8a1ab351e30d.tar.bz2
cru-5c805e494425a88da1813902b1ad8a1ab351e30d.zip
...
Diffstat (limited to 'include/cru/ui/controls/FlexLayout.hpp')
-rw-r--r--include/cru/ui/controls/FlexLayout.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/FlexLayout.hpp b/include/cru/ui/controls/FlexLayout.hpp
index 3d6087c2..87162569 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::string_view control_type = "FlexLayout";
+ static constexpr std::u16string_view 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::string_view GetControlType() const final { return control_type; }
+ std::u16string_view GetControlType() const final { return control_type; }
render::RenderObject* GetRenderObject() const override;