forked from boostorg/beast
Use fully qualified namespace in BOOST_BEAST_HANDLER_INIT
This commit is contained in:
@@ -3,6 +3,7 @@ Version 169:
|
|||||||
* Use buffers_to_string in tests
|
* Use buffers_to_string in tests
|
||||||
* Use boost::void_t
|
* Use boost::void_t
|
||||||
* Refactor HTTP write_op implementation
|
* Refactor HTTP write_op implementation
|
||||||
|
* Use fully qualified namespace in BOOST_BEAST_HANDLER_INIT
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -461,7 +461,7 @@ buffers_range(Buffers const& buffers)
|
|||||||
expected by the initiating function,
|
expected by the initiating function,
|
||||||
*/
|
*/
|
||||||
#define BOOST_BEAST_HANDLER_INIT(type, sig) \
|
#define BOOST_BEAST_HANDLER_INIT(type, sig) \
|
||||||
static_assert(is_completion_handler< \
|
static_assert(boost::beast::is_completion_handler< \
|
||||||
BOOST_ASIO_HANDLER_TYPE(type, sig), sig>::value, \
|
BOOST_ASIO_HANDLER_TYPE(type, sig), sig>::value, \
|
||||||
"CompletionHandler signature requirements not met"); \
|
"CompletionHandler signature requirements not met"); \
|
||||||
boost::asio::async_completion<type, sig> init{handler}
|
boost::asio::async_completion<type, sig> init{handler}
|
||||||
|
Reference in New Issue
Block a user