From 86564b7642acda14cffbc5a5a245390e2461c6f3 Mon Sep 17 00:00:00 2001 From: Claus Klein Date: Mon, 2 Dec 2024 18:16:48 +0100 Subject: [PATCH] Last try with const executor --- asio/module/tests/main.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};