diff --git a/include/fc/json_rpc_connection.hpp b/include/fc/json_rpc_connection.hpp index 5901413..5bb920d 100644 --- a/include/fc/json_rpc_connection.hpp +++ b/include/fc/json_rpc_connection.hpp @@ -132,7 +132,7 @@ namespace fc { namespace json { template void add_interface( const fc::ptr& it ) { - it->template visit( detail::add_method_visitor( it, *this ) ); + it->TEMPLATE visit( detail::add_method_visitor( it, *this ) ); } void add_method( const fc::string& name, const fc::json::rpc_server_method::ptr& func );