forked from boostorg/beast
rebind test uses ignore_unused.
This commit is contained in:
committed by
Klemens Morgenstern
parent
bfd5e55093
commit
97ece405b8
@@ -166,6 +166,7 @@ public:
|
|||||||
auto s2 = net::use_awaitable.as_default_on(std::move(s1));
|
auto s2 = net::use_awaitable.as_default_on(std::move(s1));
|
||||||
#ifdef BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS
|
#ifdef BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS
|
||||||
auto bt = co_await s2.async_read_some(b);
|
auto bt = co_await s2.async_read_some(b);
|
||||||
|
ignore_unused(bt);
|
||||||
bt = co_await s2.async_write_some(b);
|
bt = co_await s2.async_write_some(b);
|
||||||
#else
|
#else
|
||||||
auto bt = co_await s2.async_read_some(b,
|
auto bt = co_await s2.async_read_some(b,
|
||||||
|
Reference in New Issue
Block a user