diff options
| author | crupest <crupest@outlook.com> | 2021-09-15 19:17:38 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2021-09-15 19:17:38 +0800 |
| commit | cb981f5a337f3a8fc9d450b891c358c2b8dc29d3 (patch) | |
| tree | 5216a09c127e534edfebca22f8b91d876812f6b4 /include/cru/ui/render/MeasureRequirement.hpp | |
| parent | 105e4ad880a810300bf4b3a0a0752ae58924667b (diff) | |
| download | cru-cb981f5a337f3a8fc9d450b891c358c2b8dc29d3.tar.gz cru-cb981f5a337f3a8fc9d450b891c358c2b8dc29d3.tar.bz2 cru-cb981f5a337f3a8fc9d450b891c358c2b8dc29d3.zip | |
...
Diffstat (limited to 'include/cru/ui/render/MeasureRequirement.hpp')
| -rw-r--r-- | include/cru/ui/render/MeasureRequirement.hpp | 5 |
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: |
