diff --git a/include/fc/iostream.hpp b/include/fc/iostream.hpp index f0650d8..06a5809 100644 --- a/include/fc/iostream.hpp +++ b/include/fc/iostream.hpp @@ -77,7 +77,6 @@ namespace fc { return o; } - fc::cin_t& getline( fc::cin_t&, fc::string&, char delim = '\n' ); template cin_t& operator>>( cin_t& o, T& v ) { fc::string str; diff --git a/include/fc/lexical_cast.hpp b/include/fc/lexical_cast.hpp index e0f491e..18b9f6f 100644 --- a/include/fc/lexical_cast.hpp +++ b/include/fc/lexical_cast.hpp @@ -28,7 +28,7 @@ namespace fc { fc::string to_string( int16_t d ); fc::string to_string( int8_t d ); fc::string to_string( char d ); - fc::string to_string( const char* d ); + inline fc::string to_string( const char* d ) { return d; } inline fc::string to_string( fc::string s ) { return s; } template diff --git a/tests/json_rpc_test.cpp b/tests/json_rpc_test.cpp index 1ae18c4..91a04c0 100644 --- a/tests/json_rpc_test.cpp +++ b/tests/json_rpc_test.cpp @@ -1,5 +1,4 @@ #include -#include struct test { int add(int x){ return x+1; }