1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added missing String::operator+=() implementation for long ints

This commit is contained in:
ed 2020-06-08 11:39:32 +01:00
parent 3ccbf8bc74
commit 7f4b6e3288

View file

@ -812,9 +812,10 @@ namespace StringHelpers
}
}
String& String::operator+= (const int number) { return StringHelpers::operationAddAssign<int> (*this, number); }
String& String::operator+= (const int64 number) { return StringHelpers::operationAddAssign<int64> (*this, number); }
String& String::operator+= (const uint64 number) { return StringHelpers::operationAddAssign<uint64> (*this, number); }
String& String::operator+= (const int number) { return StringHelpers::operationAddAssign<int> (*this, number); }
String& String::operator+= (const long number) { return StringHelpers::operationAddAssign<long> (*this, number); }
String& String::operator+= (const int64 number) { return StringHelpers::operationAddAssign<int64> (*this, number); }
String& String::operator+= (const uint64 number) { return StringHelpers::operationAddAssign<uint64> (*this, number); }
//==============================================================================
JUCE_API String JUCE_CALLTYPE operator+ (const char* s1, const String& s2) { String s (s1); return s += s2; }