[clang-tidy fixes] Successful connection using Connect() overload for proxy
All checks were successful
PR Check / on-push-commit-check (push) Successful in 12m12s
All checks were successful
PR Check / on-push-commit-check (push) Successful in 12m12s
This commit is contained in:
parent
e1993511ac
commit
20e31808ba
1 changed files with 2 additions and 2 deletions
|
@ -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<void> {
|
||||
co_return ConnectViaProxy(socket, proxy_variant, host, port);
|
||||
[&](auto&& proxy_variant) -> boost::asio::awaitable<void> { // NOLINT
|
||||
co_await ConnectViaProxy(socket, proxy_variant, host, port); // GCC error if co_return
|
||||
},
|
||||
proxyOpt);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue