aboutsummaryrefslogtreecommitdiff
path: root/src/common/String.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-15 20:35:17 +0800
committercrupest <crupest@outlook.com>2021-10-15 20:35:17 +0800
commited368423531b24e8735db0afe38c7486145caa56 (patch)
tree2a88be9ce9062ac3c7e5c4ceb496d687102815ec /src/common/String.cpp
parentd3e2a751353e6c5b0e4d7c0a2af1cdbc09d3ea95 (diff)
downloadcru-ed368423531b24e8735db0afe38c7486145caa56.tar.gz
cru-ed368423531b24e8735db0afe38c7486145caa56.tar.bz2
cru-ed368423531b24e8735db0afe38c7486145caa56.zip
...
Diffstat (limited to 'src/common/String.cpp')
-rw-r--r--src/common/String.cpp2
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;
}