Fixes the numerical streaming value for FLineEdit and FLabel

This commit is contained in:
Markus Gans 2019-11-16 22:33:21 +01:00
parent 7ba294c496
commit 5bb3f1ac9b
2 changed files with 13 additions and 0 deletions

View File

@ -292,6 +292,16 @@ FString& FString::operator << (const uInt64 num)
return *this;
}
//----------------------------------------------------------------------
#if defined(__APPLE__) && defined(__MACH__)
FString& FString::operator << (const std::size_t num)
{
FString numstr(FString().setNumber(num));
_insert (length, numstr.length, numstr.string);
return *this;
}
#endif
//----------------------------------------------------------------------
FString& FString::operator << (const float num)
{

View File

@ -120,6 +120,9 @@ class FString
FString& operator << (const uInt32);
FString& operator << (const sInt64);
FString& operator << (const uInt64);
#if defined(__APPLE__) && defined(__MACH__)
FString& operator << (const std::size_t);
#endif
FString& operator << (const float);
FString& operator << (const double);
FString& operator << (const lDouble);