Fix compile error under windows
Error 1 error C2668: 'fc::to_string' : ambiguous call to overloaded function
This commit is contained in:
parent
fd00bddcb4
commit
ce131bae43
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ namespace fc
|
|||
fc::string to_string( uint16_t );
|
||||
#ifdef __APPLE__
|
||||
inline fc::string to_string( size_t s) { return to_string(uint64_t(s)); }
|
||||
#elif defined( WIN32 )
|
||||
inline fc::string to_string( size_t s ) { return to_string(uint64_t(s)); }
|
||||
#endif
|
||||
|
||||
typedef fc::optional<fc::string> ostring;
|
||||
|
|
|
|||
Loading…
Reference in a new issue