aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Popup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/Popup.h')
-rw-r--r--include/cru/ui/controls/Popup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/Popup.h b/include/cru/ui/controls/Popup.h
index 464e7278..7c57d257 100644
--- a/include/cru/ui/controls/Popup.h
+++ b/include/cru/ui/controls/Popup.h
@@ -8,7 +8,7 @@
namespace cru::ui::controls {
class CRU_UI_API Popup : public RootControl {
public:
- static constexpr StringView kControlType = u"Popup";
+ static constexpr std::string_view kControlType = "Popup";
explicit Popup(Control* attached_control = nullptr);
@@ -17,6 +17,6 @@ class CRU_UI_API Popup : public RootControl {
~Popup() override;
- String GetControlType() const override { return kControlType.ToString(); }
+ std::string GetControlType() const override { return std::string(kControlType); }
};
} // namespace cru::ui::controls