From 20e31808baa30752438e220fcd483a2ea493fe61 Mon Sep 17 00:00:00 2001 From: sectapunterx Date: Sat, 23 Nov 2024 21:11:20 +0300 Subject: [PATCH] [clang-tidy fixes] Successful connection using Connect() overload for proxy --- library/include/larra/client/client.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }