commit | 37bf88e54743640d29e99095bead3d8fd52af15c | [log] [tgz] |
---|---|---|
author | Josiah Gaskin <josiahgaskin@google.com> | Tue Aug 16 15:16:04 2011 -0700 |
committer | Josiah Gaskin <josiahgaskin@google.com> | Tue Aug 16 15:16:04 2011 -0700 |
tree | 1a004e7b12ce9e5bf2c3023e3e282d6c2cbd2373 | |
parent | dbd5be5408b4cb50e6f54ac5eb229bf015739c67 [diff] |
Fix String16 operator+ to actually work This change fixes the String16 utility's operator+ function. Change-Id: Ibed7b07277b50bf178febc72b6ce497893e66f17
diff --git a/include/utils/String16.h b/include/utils/String16.h index 07a0c11..9d8be38 100644 --- a/include/utils/String16.h +++ b/include/utils/String16.h
@@ -183,7 +183,7 @@ inline String16 String16::operator+(const String16& other) const { - String16 tmp; + String16 tmp(*this); tmp += other; return tmp; }