forked from boostorg/beast
Make HandlerCall operator() const
This commit is contained in:
1 parent
325a265a33
commit
52ff45549d
4 files changed
+8
-8
No files matched your search
@@ -152,7 +152,7 @@ boost::system::error_code Socket::handshake (handshake_type, boost::system::erro
|
||||
}
|
||||
|
||||
BEAST_ASIO_INITFN_RESULT_TYPE_MEMBER(HandlerCall, void (boost::system::error_code))
|
||||
Socket::async_handshake (handshake_type, BOOST_ASIO_MOVE_ARG(HandlerCall) handler)
|
||||
Socket::async_handshake (handshake_type, HandlerCall const& handler)
|
||||
{
|
||||
#if BEAST_ASIO_HAS_FUTURE_RETURNS
|
||||
boost::asio::detail::async_result_init<
|
||||
|
||||
@@ -699,7 +699,7 @@ public:
|
||||
}
|
||||
|
||||
BEAST_ASIO_INITFN_RESULT_TYPE_MEMBER(HandlerCall, void (error_code))
|
||||
async_shutdown (BOOST_ASIO_MOVE_ARG(HandlerCall) handler,
|
||||
async_shutdown (HandlerCall const& handler,
|
||||
boost::true_type)
|
||||
{
|
||||
return m_object.async_shutdown (handler);
|
||||
|
||||
Reference in new issue
Block a user