diff options
author | crupest <crupest@outlook.com> | 2020-07-05 23:06:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-07-05 23:06:02 +0800 |
commit | 5c805e494425a88da1813902b1ad8a1ab351e30d (patch) | |
tree | be3cfd96dcac19db3e256d610d48b5083c489a6c /src/ui/render/FlexLayoutRenderObject.cpp | |
parent | bbec59718bf8a824583869126762013112f8e568 (diff) | |
download | cru-5c805e494425a88da1813902b1ad8a1ab351e30d.tar.gz cru-5c805e494425a88da1813902b1ad8a1ab351e30d.tar.bz2 cru-5c805e494425a88da1813902b1ad8a1ab351e30d.zip |
...
Diffstat (limited to 'src/ui/render/FlexLayoutRenderObject.cpp')
-rw-r--r-- | src/ui/render/FlexLayoutRenderObject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/render/FlexLayoutRenderObject.cpp b/src/ui/render/FlexLayoutRenderObject.cpp index 8e6b41fe..ade230b5 100644 --- a/src/ui/render/FlexLayoutRenderObject.cpp +++ b/src/ui/render/FlexLayoutRenderObject.cpp @@ -88,7 +88,7 @@ Size FlexLayoutMeasureContentImpl( const MeasureRequirement& requirement, const MeasureSize& preferred_size, const std::vector<RenderObject*>& children, const std::vector<FlexChildLayoutData>& layout_data, - std::string_view log_tag) { + std::u16string_view log_tag) { Expects(children.size() == layout_data.size()); direction_tag_t direction_tag; @@ -111,8 +111,8 @@ Size FlexLayoutMeasureContentImpl( StackLayoutCalculateChildMaxLength( preferred_cross_length, max_cross_length, GetCross(child->GetMinSize(), direction_tag), log_tag, - "(Measure) Child's min cross size is bigger than parent's max " - "cross size.")); + u"(Measure) Child's min cross size is bigger than parent's max " + u"cross size.")); } // step 1. @@ -315,7 +315,7 @@ Size FlexLayoutMeasureContentImpl( total_length > max_main_length.GetLengthOrUndefined()) { log::TagWarn( log_tag, - "(Measure) Children's main axis length exceeds required max length."); + u"(Measure) Children's main axis length exceeds required max length."); total_length = max_main_length.GetLengthOrUndefined(); } else if (min_main_length.IsSpecified() && total_length < min_main_length.GetLengthOrUndefined()) { |