mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 17:06:00 +00:00
Fix use sites of BOOST_ASIO_MOVE_ARG
This commit is contained in:
@@ -126,7 +126,7 @@ protected:
|
||||
typedef void result_type;
|
||||
|
||||
template <class Handler>
|
||||
CompletionCall (BOOST_ASIO_MOVE_ARG (Handler) handler)
|
||||
CompletionCall (BOOST_ASIO_MOVE_ARG(Handler) handler)
|
||||
: m_call (new CallType <Handler> (handler))
|
||||
{
|
||||
}
|
||||
@@ -150,7 +150,7 @@ protected:
|
||||
template <class Handler>
|
||||
struct CallType : Call
|
||||
{
|
||||
CallType (BOOST_ASIO_MOVE_ARG (Handler) handler)
|
||||
CallType (BOOST_ASIO_MOVE_ARG(Handler) handler)
|
||||
: m_handler (handler)
|
||||
{
|
||||
}
|
||||
@@ -187,7 +187,7 @@ protected:
|
||||
typedef void result_type;
|
||||
|
||||
template <class Handler>
|
||||
ErrorCall (BOOST_ASIO_MOVE_ARG (Handler) handler)
|
||||
ErrorCall (BOOST_ASIO_MOVE_ARG(Handler) handler)
|
||||
: m_call (new CallType <Handler> (handler))
|
||||
{
|
||||
}
|
||||
@@ -211,7 +211,7 @@ protected:
|
||||
template <class Handler>
|
||||
struct CallType : Call
|
||||
{
|
||||
CallType (BOOST_ASIO_MOVE_ARG (Handler) handler)
|
||||
CallType (BOOST_ASIO_MOVE_ARG(Handler) handler)
|
||||
: m_handler (handler)
|
||||
{
|
||||
}
|
||||
@@ -245,7 +245,7 @@ protected:
|
||||
typedef void result_type;
|
||||
|
||||
template <class Handler>
|
||||
TransferCall (BOOST_ASIO_MOVE_ARG (Handler) handler)
|
||||
TransferCall (BOOST_ASIO_MOVE_ARG(Handler) handler)
|
||||
: m_call (new CallType <Handler> (handler))
|
||||
{
|
||||
}
|
||||
@@ -269,7 +269,7 @@ protected:
|
||||
template <class Handler>
|
||||
struct CallType : Call
|
||||
{
|
||||
CallType (BOOST_ASIO_MOVE_ARG (Handler) handler)
|
||||
CallType (BOOST_ASIO_MOVE_ARG(Handler) handler)
|
||||
: m_handler (handler)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -609,7 +609,7 @@ public:
|
||||
template <typename ConstBufferSequence, typename BufferedHandshakeHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(BufferedHandshakeHandler, void (boost::system::error_code, std::size_t))
|
||||
handshakePlainAsync (ConstBufferSequence const& buffers,
|
||||
BOOST_ASIO_MOVE_ARG (BufferedHandshakeHandler) handler)
|
||||
BOOST_ASIO_MOVE_ARG(BufferedHandshakeHandler) handler)
|
||||
{
|
||||
fatal_assert (asio::buffer_size (buffers) == 0);
|
||||
createPlainStream ();
|
||||
@@ -651,7 +651,7 @@ public:
|
||||
template <typename ConstBufferSequence, typename BufferedHandshakeHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE (BufferedHandshakeHandler, void (boost::system::error_code, std::size_t))
|
||||
handshakeSslAsync (ConstBufferSequence const& buffers,
|
||||
BOOST_ASIO_MOVE_ARG (BufferedHandshakeHandler) handler)
|
||||
BOOST_ASIO_MOVE_ARG(BufferedHandshakeHandler) handler)
|
||||
{
|
||||
createSslStream ();
|
||||
return m_ssl_stream->async_handshake (m_role, buffers, handler);
|
||||
|
||||
Reference in New Issue
Block a user