diff --git a/asio/module/tests/main.hpp b/asio/module/tests/main.hpp index 34e6a95e59..8e0cc5411b 100644 --- a/asio/module/tests/main.hpp +++ b/asio/module/tests/main.hpp @@ -55,7 +55,7 @@ inline net::awaitable do_session(tcp::socket client_sock) inline net::awaitable 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};