diff --git a/src/beast/modules/beast_asio/async/AbstractHandler.h b/src/beast/modules/beast_asio/async/AbstractHandler.h index e732324e5a..f999b9e5d4 100644 --- a/src/beast/modules/beast_asio/async/AbstractHandler.h +++ b/src/beast/modules/beast_asio/async/AbstractHandler.h @@ -163,8 +163,9 @@ struct AbstractHandler #else { return false; } #endif - void invoke (invoked_type& invoked) - { boost_asio_handler_invoke_helpers::invoke (invoked, m_h); } + void invoke (typename detail::AbstractHandlerCallBase::invoked_type& invoked) + { boost_asio_handler_invoke_helpers::invoke < + typename detail::AbstractHandlerCallBase::invoked_type, H> (invoked, m_h); } private: H m_h; Allocator m_alloc; @@ -260,8 +261,9 @@ struct AbstractHandler #else { return false; } #endif - void invoke (invoked_type& invoked) - { boost_asio_handler_invoke_helpers::invoke (invoked, m_h); } + void invoke (typename detail::AbstractHandlerCallBase::invoked_type& invoked) + { boost_asio_handler_invoke_helpers::invoke < + typename detail::AbstractHandlerCallBase::invoked_type, H> (invoked, m_h); } private: H m_h; Allocator m_alloc; @@ -356,8 +358,9 @@ struct AbstractHandler #else { return false; } #endif - void invoke (invoked_type& invoked) - { boost_asio_handler_invoke_helpers::invoke (invoked, m_h); } + void invoke (typename detail::AbstractHandlerCallBase::invoked_type& invoked) + { boost_asio_handler_invoke_helpers::invoke < + typename detail::AbstractHandlerCallBase::invoked_type, H> (invoked, m_h); } private: H m_h; Allocator m_alloc; @@ -450,8 +453,9 @@ struct AbstractHandler #else { return false; } #endif - void invoke (invoked_type& invoked) - { boost_asio_handler_invoke_helpers::invoke (invoked, m_h); } + void invoke (typename detail::AbstractHandlerCallBase::invoked_type& invoked) + { boost_asio_handler_invoke_helpers::invoke < + typename detail::AbstractHandlerCallBase::invoked_type, H> (invoked, m_h); } private: H m_h; Allocator m_alloc; @@ -544,8 +548,9 @@ struct AbstractHandler #else { return false; } #endif - void invoke (invoked_type& invoked) - { boost_asio_handler_invoke_helpers::invoke (invoked, m_h); } + void invoke (typename detail::AbstractHandlerCallBase::invoked_type& invoked) + { boost_asio_handler_invoke_helpers::invoke < + typename detail::AbstractHandlerCallBase::invoked_type, H> (invoked, m_h); } private: H m_h; Allocator m_alloc; @@ -638,8 +643,9 @@ struct AbstractHandler #else { return false; } #endif - void invoke (invoked_type& invoked) - { boost_asio_handler_invoke_helpers::invoke (invoked, m_h); } + void invoke (typename detail::AbstractHandlerCallBase::invoked_type& invoked) + { boost_asio_handler_invoke_helpers::invoke < + typename detail::AbstractHandlerCallBase::invoked_type, H> (invoked, m_h); } private: H m_h; Allocator m_alloc;