fix undefined methods
This commit is contained in:
parent
4f146b93f1
commit
a819694d85
3 changed files with 1 additions and 3 deletions
|
|
@ -77,7 +77,6 @@ namespace fc {
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
fc::cin_t& getline( fc::cin_t&, fc::string&, char delim = '\n' );
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
cin_t& operator>>( cin_t& o, T& v ) {
|
cin_t& operator>>( cin_t& o, T& v ) {
|
||||||
fc::string str;
|
fc::string str;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace fc {
|
||||||
fc::string to_string( int16_t d );
|
fc::string to_string( int16_t d );
|
||||||
fc::string to_string( int8_t d );
|
fc::string to_string( int8_t d );
|
||||||
fc::string to_string( char 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; }
|
inline fc::string to_string( fc::string s ) { return s; }
|
||||||
|
|
||||||
template<typename R>
|
template<typename R>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
#include <fc/json_rpc_client.hpp>
|
#include <fc/json_rpc_client.hpp>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
struct test {
|
struct test {
|
||||||
int add(int x){ return x+1; }
|
int add(int x){ return x+1; }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue