We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5bb62 commit ee5b89fCopy full SHA for ee5b89f
src/coro_io/tests/test_load_balancer.cpp
@@ -180,7 +180,8 @@ TEST_CASE("test send_request config") {
180
auto load_balancer =
181
coro_io::load_balancer<coro_rpc::coro_rpc_client>::create(hosts);
182
for (int i = 0; i < 100; ++i) {
183
- auto config = coro_rpc::coro_rpc_client::config{.client_id = 114514};
+ coro_rpc::coro_rpc_client::config config{};
184
+ config.client_id = 114514;
185
auto res = co_await load_balancer.send_request(
186
[&i, &hosts](coro_rpc::coro_rpc_client &client, std::string_view host)
187
-> async_simple::coro::Lazy<void> {
0 commit comments