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

This commit is contained in:
sectapunterx 2024-11-23 21:11:20 +03:00
parent e1993511ac
commit 20e31808ba

View file

@ -286,8 +286,8 @@ 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_return ConnectViaProxy(socket, proxy_variant, host, port); co_await ConnectViaProxy(socket, proxy_variant, host, port); // GCC error if co_return
}, },
proxyOpt); proxyOpt);
} }