aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/client/create_channel.cc
diff options
context:
space:
mode:
authorGravatar Krasimir Georgiev <krasimir@google.com>2017-10-17 08:38:20 +0200
committerGravatar Krasimir Georgiev <krasimir@google.com>2017-10-17 08:38:20 +0200
commit1f42fae4c5125c33f7b953d0d0073af8f8e4397e (patch)
treeb99d5fc38a419dacdc6702cd3723d97038c2e319 /src/cpp/client/create_channel.cc
parentc6175eda53a3c75b2ab52295c523cbc2cc6db8e4 (diff)
Fix initialization bug in channel creation
Diffstat (limited to 'src/cpp/client/create_channel.cc')
-rw-r--r--src/cpp/client/create_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc
index e2893c8f3c..142d7beabe 100644
--- a/src/cpp/client/create_channel.cc
+++ b/src/cpp/client/create_channel.cc
@@ -38,7 +38,7 @@ std::shared_ptr<Channel> CreateCustomChannel(
const grpc::string& target,
const std::shared_ptr<ChannelCredentials>& creds,
const ChannelArguments& args) {
- internal::GrpcLibrary
+ GrpcLibraryCodegen
init_lib; // We need to call init in case of a bad creds.
return creds
? creds->CreateChannel(target, args)