Skip to content

Commit 88512f5

Browse files
Xavier DucrohetAndroid Git Automerger
authored andcommitted
am a8313e7: Merge "Fix String16 operator+ to actually work"
* commit 'a8313e71fe8b483448d14e22610101c5f3672744': Fix String16 operator+ to actually work
2 parents 7a0d746 + a8313e7 commit 88512f5

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)