From e1993511ac663c848fb3b95890732268e7356fb9 Mon Sep 17 00:00:00 2001 From: sectapunterx Date: Sat, 23 Nov 2024 21:01:18 +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 4142106..cf5c0c1 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 { // NOLINT - co_await ConnectViaProxy(socket, proxy_variant, host, port); + [&](auto&& proxy_variant) -> boost::asio::awaitable { + co_return ConnectViaProxy(socket, proxy_variant, host, port); }, proxyOpt); }