diff options
Diffstat (limited to 'include/cru/ui/render')
-rw-r--r-- | include/cru/ui/render/MeasureRequirement.hpp | 5 | ||||
-rw-r--r-- | include/cru/ui/render/RenderObject.hpp | 1 |
2 files changed, 2 insertions, 4 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: diff --git a/include/cru/ui/render/RenderObject.hpp b/include/cru/ui/render/RenderObject.hpp index 622c27f2..0dd95c71 100644 --- a/include/cru/ui/render/RenderObject.hpp +++ b/include/cru/ui/render/RenderObject.hpp @@ -4,7 +4,6 @@ #include "MeasureRequirement.hpp" #include "cru/common/Base.hpp" #include "cru/common/Event.hpp" -#include "cru/platform/GraphBase.hpp" #include "cru/ui/Base.hpp" #include <cstddef> |