aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/MeasureRequirement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/render/MeasureRequirement.hpp')
-rw-r--r--include/cru/ui/render/MeasureRequirement.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/cru/ui/render/MeasureRequirement.hpp b/include/cru/ui/render/MeasureRequirement.hpp
index ff9dd6e3..90d02a02 100644
--- a/include/cru/ui/render/MeasureRequirement.hpp
+++ b/include/cru/ui/render/MeasureRequirement.hpp
@@ -115,9 +115,8 @@ class MeasureLength final {
}
}
- std::u16string ToDebugString() const {
- return IsSpecified() ? ToUtf16String(GetLengthOrUndefined())
- : u"UNSPECIFIED";
+ String ToDebugString() const {
+ return IsSpecified() ? ToString(GetLengthOrUndefined()) : u"UNSPECIFIED";
}
private: