From 994c4097fa457a8b3f92d7ee660d30e1ffa0789f Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Thu, 28 May 2015 08:43:43 -0400 Subject: [PATCH] fix build --- include/fc/rpc/api_connection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/rpc/api_connection.hpp b/include/fc/rpc/api_connection.hpp index c037c22..5316285 100644 --- a/include/fc/rpc/api_connection.hpp +++ b/include/fc/rpc/api_connection.hpp @@ -113,7 +113,7 @@ namespace fc { R call_generic( const std::function,Args...)>& f, variants::const_iterator a0, variants::const_iterator e ) { FC_ASSERT( a0 != e, "too few arguments passed to method" ); - detail::callback_functor arg0( *this, a0->as() ); + detail::callback_functor arg0( get_connection(), a0->as() ); return call_generic( this->bind_first_arg,Args...>( f, std::function(arg0) ), a0+1, e ); } template