Skip to content

Commit 5dcda1f

Browse files
Xavier DucrohetAndroid Git Automerger
authored andcommitted
am 88512f5: am a8313e7: Merge "Fix String16 operator+ to actually work"
* commit '88512f59bc051a42f4dd70acc8af5622f7e99db6': Fix String16 operator+ to actually work
2 parents ee93fd5 + 88512f5 commit 5dcda1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/utils/String16.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ inline String16& String16::operator+=(const String16& other)
183183

184184
inline String16 String16::operator+(const String16& other) const
185185
{
186-
String16 tmp;
186+
String16 tmp(*this);
187187
tmp += other;
188188
return tmp;
189189
}

0 commit comments

Comments
 (0)