We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f921cc2 commit a06ec59Copy full SHA for a06ec59
1 file changed
asio/module/tests/main.hpp
@@ -41,7 +41,7 @@ inline void fail(error_code ec, char const* what)
41
inline net::awaitable<void> do_session(tcp::socket client_sock)
42
{
43
char buff [4096] {};
44
- // TODO(CK): Not used? const auto ex = co_await net::this_coro::executor;
+ // TODO(CK): Not used? auto ex = co_await net::this_coro::executor;
45
46
ssl::context ctx {ssl::context::tls_client};
47
ssl::stream<tcp::socket> stream {std::move(client_sock), ctx};
@@ -55,7 +55,7 @@ inline net::awaitable<void> do_session(tcp::socket client_sock)
55
56
inline net::awaitable<void> do_listen()
57
58
- const auto ex = co_await net::this_coro::executor;
+ auto ex = co_await net::this_coro::executor;
59
error_code ec;
60
tcp::endpoint endpoint {net::ip::address_v4::loopback(), 3000};
61
0 commit comments