Utils: Add += to SmallString

Actually it is a wrapper to append.

Change-Id: I61112a432423d0fcd3917aa28ea4cdc4842d51d4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2016-10-18 18:20:27 +02:00
committed by Tim Jenssen
parent 80a58ba1cb
commit 1cb16f98b0

View File

@@ -423,6 +423,13 @@ public:
setSize(newSize);
}
SmallString &operator+=(SmallStringView string)
{
append(string);
return *this;
}
void replace(SmallStringView fromText, SmallStringView toText)
{
if (toText.size() == fromText.size())