Skip to content

Commit ddf155b

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/utils/String16.h

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

157157
inline String16 String16::operator+(const String16& other) const
158158
{
159-
String16 tmp;
159+
String16 tmp(*this);
160160
tmp += other;
161161
return tmp;
162162
}

0 commit comments

Comments
 (0)