diff --git a/include/fc/json_rpc_connection.hpp b/include/fc/json_rpc_connection.hpp index c0c4e42..c453301 100644 --- a/include/fc/json_rpc_connection.hpp +++ b/include/fc/json_rpc_connection.hpp @@ -161,23 +161,31 @@ namespace fc { namespace json { template template - void add_method_visitor::operator()( const char* name, std::function& meth) { - _con.add_method( name, rpc_server_method::ptr( new rpc_server_method_impl,R(A1) >(meth) ) ); + void add_method_visitor::operator()( const char* name, + std::function& meth) { + _con.add_method( name, rpc_server_method::ptr( + new rpc_server_method_impl,R(A1) >(meth) ) ); } template template - void add_method_visitor::operator()( const char* name, std::function& meth) { - _con.add_method( name, rpc_server_method::ptr( new rpc_server_method_impl,R(A1,A2) >(meth) ) ); + void add_method_visitor::operator()( const char* name, + std::function& meth) { + _con.add_method( name, rpc_server_method::ptr( + new rpc_server_method_impl,R(A1,A2) >(meth) ) ); } template template - void add_method_visitor::operator()( const char* name, std::function& meth) { - _con.add_method( name, rpc_server_method::ptr( new rpc_server_method_impl,R(A1,A2,A3) >(meth) ) ); + void add_method_visitor::operator()( const char* name, + std::function& meth) { + _con.add_method( name, rpc_server_method::ptr( + new rpc_server_method_impl,R(A1,A2,A3) >(meth) ) ); } template template - void add_method_visitor::operator()( const char* name, std::function& meth) { - _con.add_method( name, rpc_server_method::ptr( new rpc_server_method_impl,R() >(meth) ) ); + void add_method_visitor::operator()( const char* name, + std::function& meth) { + _con.add_method( name, rpc_server_method::ptr( + new rpc_server_method_impl,R() >(meth) ) ); } } // namespace detail