Fix compile error under windows

Error 1 error C2668: 'fc::to_string' : ambiguous call to overloaded function
This commit is contained in:
HackFisher 2014-05-18 16:37:06 +08:00
parent fd00bddcb4
commit ce131bae43

View file

@ -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;