summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Xavier Ducrohet <xav@android.com> 2011-08-17 14:38:15 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-08-17 14:38:15 -0700
commit754b249bcd2d72b90b4fbe82d0d9b636790717df (patch)
tree7d882a982ef974e6e098e6cad1144227459cca3a
parentc9514d2dadbedc6ac1023dd1072f18a2ace7cf9b (diff)
parent242915f3d017582186eeebd8bd341a4290e31ff8 (diff)
am 5dcda1fd: am 88512f59: am a8313e71: Merge "Fix String16 operator+ to actually work"
* commit '5dcda1fda53bdc6dfe80cf37e62cacdc216224b1': Fix String16 operator+ to actually work
-rw-r--r--include/utils/String16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/String16.h b/include/utils/String16.h
index 584f53f300..360f407c36 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;
}