[clang-tidy fixes] Successful connection using Connect() overload for proxy
All checks were successful
PR Check / on-push-commit-check (push) Successful in 11m53s

This commit is contained in:
sectapunterx 2024-11-23 20:41:25 +03:00
parent 5d64a8ca26
commit 9f408fd4b8

View file

@ -286,7 +286,7 @@ auto ConnectViaProxy(Socket& socket, const SystemConfiguredProxy&, std::string_v
auto proxyOpt = GetSystemProxySettings(); auto proxyOpt = GetSystemProxySettings();
co_await std::visit( co_await std::visit(
[&](auto&& proxy_variant) -> boost::asio::awaitable<void> { [&](auto&& proxy_variant) -> boost::asio::awaitable<void> { // NOLINT
co_await ConnectViaProxy(socket, proxy_variant, host, port); co_await ConnectViaProxy(socket, proxy_variant, host, port);
}, },
proxyOpt); proxyOpt);