Fix String16 operator+ to actually work
This change fixes the String16 utility's operator+ function. Change-Id: Ibed7b07277b50bf178febc72b6ce497893e66f17
This commit is contained in:
parent
dbd5be5408
commit
37bf88e547
@ -183,7 +183,7 @@ inline String16& String16::operator+=(const String16& other)
|
|||||||
|
|
||||||
inline String16 String16::operator+(const String16& other) const
|
inline String16 String16::operator+(const String16& other) const
|
||||||
{
|
{
|
||||||
String16 tmp;
|
String16 tmp(*this);
|
||||||
tmp += other;
|
tmp += other;
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user