diff --git a/include/utils/String16.h b/include/utils/String16.h index 584f53f30..360f407c3 100644 --- a/include/utils/String16.h +++ b/include/utils/String16.h @@ -156,7 +156,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; }