File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ inline void fail(error_code ec, char const* what)
4141inline 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
5656inline 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
You can’t perform that action at this time.
0 commit comments