forked from boostorg/beast
Replace BOOST_ASIO_INITFN_RESULT_TYPE with BOOST_ASIO_INITFN_AUTO_RESULT_TYPE
asio::deferred doesn't work with BOOST_ASIO_INITFN_RESULT_TYPE Fixes #2727.
This commit is contained in:
committed by
Mohammad Nejati
parent
35d533299c
commit
45d4f7f306
@@ -1298,7 +1298,7 @@ public:
|
||||
resolve_results.begin()->endpoint(),
|
||||
net::use_awaitable))>);
|
||||
|
||||
auto comparison_function = [](error_code&, net::ip::tcp::endpoint) { return true; };
|
||||
auto comparison_function = [](error_code const&, net::ip::tcp::endpoint) { return true; };
|
||||
|
||||
static_assert(std::is_same_v<
|
||||
net::awaitable<net::ip::tcp::resolver::results_type::const_iterator>, decltype(
|
||||
|
||||
Reference in New Issue
Block a user