Fix use sites of BOOST_ASIO_MOVE_ARG

This commit is contained in:
Vinnie Falco
2013-08-07 18:42:19 -07:00
parent b806ce2d9e
commit 071b404f80
2 changed files with 8 additions and 8 deletions

View File

@@ -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)
{
}

View File

@@ -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);