From ed368423531b24e8735db0afe38c7486145caa56 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 15 Oct 2021 20:35:17 +0800 Subject: ... --- src/common/String.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/String.cpp') diff --git a/src/common/String.cpp b/src/common/String.cpp index ef5eb176..30f83174 100644 --- a/src/common/String.cpp +++ b/src/common/String.cpp @@ -243,7 +243,7 @@ Range String::RangeFromCodePointToCodeUnit(Range code_point_range) const { IndexFromCodePointToCodeUnit(code_point_range.GetEnd())); } -String& String::operator+=(const String& other) { +String& String::operator+=(StringView other) { append(other); return *this; } -- cgit v1.2.3