[cleanup] Remove unnecessary string conversion (#33123)

pull/33144/head
AJ Heller 2 years ago committed by GitHub
parent 6818c8740f
commit 7c98b91091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/ext/filters/client_channel/client_channel.cc

@ -1496,8 +1496,8 @@ void ClientChannel::CreateResolverLocked() {
uri_to_resolve_.c_str()); uri_to_resolve_.c_str());
} }
resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver( resolver_ = CoreConfiguration::Get().resolver_registry().CreateResolver(
uri_to_resolve_.c_str(), channel_args_, interested_parties_, uri_to_resolve_, channel_args_, interested_parties_, work_serializer_,
work_serializer_, std::make_unique<ResolverResultHandler>(this)); std::make_unique<ResolverResultHandler>(this));
// Since the validity of the args was checked when the channel was created, // Since the validity of the args was checked when the channel was created,
// CreateResolver() must return a non-null result. // CreateResolver() must return a non-null result.
GPR_ASSERT(resolver_ != nullptr); GPR_ASSERT(resolver_ != nullptr);

Loading…
Cancel
Save