mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 13:27:33 +02:00
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 boost::void_t
|
||||
* 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,
|
||||
*/
|
||||
#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, \
|
||||
"CompletionHandler signature requirements not met"); \
|
||||
boost::asio::async_completion<type, sig> init{handler}
|
||||
|
Reference in New Issue
Block a user