Skip to content

Commit

Permalink
Last try with const executor
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Dec 2, 2024
1 parent 3846d69 commit 86564b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asio/module/tests/main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ inline net::awaitable<void> do_session(tcp::socket client_sock)

inline net::awaitable<void> do_listen()
{
auto ex = co_await net::this_coro::executor;
const auto ex = co_await net::this_coro::executor;
error_code ec;
tcp::endpoint endpoint {net::ip::address_v4::loopback(), 3000};

Expand Down

0 comments on commit 86564b7

Please sign in to comment.