diff options
author | crupest <crupest@outlook.com> | 2021-10-15 20:35:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-10-15 20:35:17 +0800 |
commit | ed368423531b24e8735db0afe38c7486145caa56 (patch) | |
tree | 2a88be9ce9062ac3c7e5c4ceb496d687102815ec /src/common/String.cpp | |
parent | d3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95 (diff) | |
download | cru-ed368423531b24e8735db0afe38c7486145caa56.tar.gz cru-ed368423531b24e8735db0afe38c7486145caa56.tar.bz2 cru-ed368423531b24e8735db0afe38c7486145caa56.zip |
...
Diffstat (limited to 'src/common/String.cpp')
-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; } |