diff --git a/library/include/larra/client/client.hpp b/library/include/larra/client/client.hpp index cf5c0c1..50026b6 100644 --- a/library/include/larra/client/client.hpp +++ b/library/include/larra/client/client.hpp @@ -286,8 +286,8 @@ auto ConnectViaProxy(Socket& socket, const SystemConfiguredProxy&, std::string_v auto proxyOpt = GetSystemProxySettings(); co_await std::visit( - [&](auto&& proxy_variant) -> boost::asio::awaitable { - co_return ConnectViaProxy(socket, proxy_variant, host, port); + [&](auto&& proxy_variant) -> boost::asio::awaitable { // NOLINT + co_await ConnectViaProxy(socket, proxy_variant, host, port); // GCC error if co_return }, proxyOpt); }