pull/35503/head
Mark D. Roth 11 months ago
parent c6142fa2b6
commit 94d5edc133
  1. 4
      test/core/client_channel/lb_policy/xds_override_host_test.cc

@ -72,8 +72,8 @@ class XdsOverrideHostTest : public LoadBalancingPolicyTest {
cluster_resource->connection_idle_timeout = *connection_idle_timeout;
}
auto xds_config = MakeRefCounted<XdsDependencyManager::XdsConfig>();
xds_config->clusters[cluster_name].emplace(
cluster_name, std::move(cluster_resource), nullptr, "");
xds_config->clusters[std::move(cluster_name)].emplace(
std::move(cluster_resource), nullptr, "");
return xds_config;
}

Loading…
Cancel
Save