Fix the compile errors for tests and namespace.

pull/18444/head
Karthik Ravi Shankar 6 years ago
parent 8d2207da4d
commit e57182ab61
  1. 4
      include/grpcpp/security/credentials_impl.h
  2. 2
      test/cpp/util/grpc_tool.cc

@ -44,7 +44,7 @@ class CallCredentials;
class SecureCallCredentials;
class SecureChannelCredentials;
std::shared_ptr<grpc::Channel> CreateCustomChannel(
std::shared_ptr<grpc::Channel> CreateCustomChannelImpl(
const grpc::string& target,
const std::shared_ptr<ChannelCredentials>& creds,
const grpc::ChannelArguments& args);
@ -78,7 +78,7 @@ class ChannelCredentials : private grpc::GrpcLibraryCodegen {
virtual SecureChannelCredentials* AsSecureCredentials() = 0;
private:
friend std::shared_ptr<grpc::Channel> CreateCustomChannel(
friend std::shared_ptr<grpc::Channel> CreateCustomChannelImpl(
const grpc::string& target,
const std::shared_ptr<ChannelCredentials>& creds,
const grpc::ChannelArguments& args);

@ -217,7 +217,7 @@ std::shared_ptr<grpc::Channel> CreateCliChannel(
if (!cred.GetSslTargetNameOverride().empty()) {
args.SetSslTargetNameOverride(cred.GetSslTargetNameOverride());
}
return grpc::CreateCustomChannel(server_address, cred.GetCredentials(), args);
return CreateCustomChannel(server_address, cred.GetCredentials(), args);
}
struct Command {

Loading…
Cancel
Save