rebind test uses ignore_unused.

This commit is contained in:
Klemens
2023-01-02 10:00:30 +08:00
committed by Klemens Morgenstern
parent bfd5e55093
commit 97ece405b8

View File

@@ -166,6 +166,7 @@ public:
auto s2 = net::use_awaitable.as_default_on(std::move(s1));
#ifdef BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS
auto bt = co_await s2.async_read_some(b);
ignore_unused(bt);
bt = co_await s2.async_write_some(b);
#else
auto bt = co_await s2.async_read_some(b,