Skip to content

Commit a06ec59

Browse files
committed
Reverted
1 parent f921cc2 commit a06ec59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

asio/module/tests/main.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ inline void fail(error_code ec, char const* what)
4141
inline net::awaitable<void> do_session(tcp::socket client_sock)
4242
{
4343
char buff [4096] {};
44-
// TODO(CK): Not used? const auto ex = co_await net::this_coro::executor;
44+
// TODO(CK): Not used? auto ex = co_await net::this_coro::executor;
4545

4646
ssl::context ctx {ssl::context::tls_client};
4747
ssl::stream<tcp::socket> stream {std::move(client_sock), ctx};
@@ -55,7 +55,7 @@ inline net::awaitable<void> do_session(tcp::socket client_sock)
5555

5656
inline net::awaitable<void> do_listen()
5757
{
58-
const auto ex = co_await net::this_coro::executor;
58+
auto ex = co_await net::this_coro::executor;
5959
error_code ec;
6060
tcp::endpoint endpoint {net::ip::address_v4::loopback(), 3000};
6161

0 commit comments

Comments
 (0)