Revision of FString number input stream

This commit is contained in:
Markus Gans 2019-11-18 01:18:15 +01:00
parent 8c434777bc
commit 3de8e73281
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ class FString
template <typename NumT
, typename std::enable_if< std::is_integral<NumT>::value
|| std::is_floating_point<NumT>::value
, NumT>::type* = nullptr >
, int>::type = 0 >
FString& operator << (const NumT);
const FString& operator >> (FString&);
@ -287,7 +287,7 @@ class FString
template <typename NumT
, typename std::enable_if< std::is_integral<NumT>::value
|| std::is_floating_point<NumT>::value
, NumT>::type* = nullptr >
, int>::type = 0 >
inline FString& FString::operator << (const NumT val)
{
FString numstr(FString().setNumber(val));