diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/String.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |