aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/ScrollRenderObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/render/ScrollRenderObject.h')
-rw-r--r--include/cru/ui/render/ScrollRenderObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/render/ScrollRenderObject.h b/include/cru/ui/render/ScrollRenderObject.h
index 180e927a..63a49aa3 100644
--- a/include/cru/ui/render/ScrollRenderObject.h
+++ b/include/cru/ui/render/ScrollRenderObject.h
@@ -60,7 +60,7 @@ class CRU_UI_API ScrollRenderObject : public SingleChildRenderObject {
// Param margin is just for convenience and it will just add to the rect.
void ScrollToContain(const Rect& rect, const Thickness& margin = Thickness{});
- String GetName() const override { return u"ScrollRenderObject"; }
+ std::string GetName() const override { return "ScrollRenderObject"; }
bool IsMouseWheelScrollEnabled() const { return is_mouse_wheel_enabled_; }
void SetMouseWheelScrollEnabled(bool enable);