diff --git a/include/utils/String16.h b/include/utils/String16.h index 07a0c1188..9d8be38bd 100644 --- a/include/utils/String16.h +++ b/include/utils/String16.h @@ -183,7 +183,7 @@ inline String16& String16::operator+=(const String16& other) inline String16 String16::operator+(const String16& other) const { - String16 tmp; + String16 tmp(*this); tmp += other; return tmp; }