Fix String16 operator+ to actually work

This change fixes the String16 utility's operator+ function.

Change-Id: Ibed7b07277b50bf178febc72b6ce497893e66f17
This commit is contained in:
Josiah Gaskin 2011-08-16 15:16:04 -07:00
parent dbd5be5408
commit 37bf88e547

View File

@ -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;
} }