From ecd5fd4b9637d27add1a2619371360293efccecd Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Sun, 3 Feb 2013 21:09:43 -0500 Subject: [PATCH] adjust formatting for better line-wrapping --- include/fc/json_rpc_connection.hpp | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) 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