aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-10-17 08:58:02 -0700
committerGravatar GitHub <noreply@github.com>2017-10-17 08:58:02 -0700
commit3bae9134a697f1f75746f79a14246c845cb79728 (patch)
treeb7e75b3c25775ebbda69a4d897dcc10a848888ef
parentc6175eda53a3c75b2ab52295c523cbc2cc6db8e4 (diff)
parent53cec0fc8fa170aefc641aaade014d8642f33302 (diff)
Merge pull request #13034 from krasimirgv/master
Fix initialization bug in channel creation
-rw-r--r--src/cpp/client/create_channel.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc
index e2893c8f3c..de67281dd4 100644
--- a/src/cpp/client/create_channel.cc
+++ b/src/cpp/client/create_channel.cc
@@ -38,8 +38,7 @@ std::shared_ptr<Channel> CreateCustomChannel(
const grpc::string& target,
const std::shared_ptr<ChannelCredentials>& creds,
const ChannelArguments& args) {
- internal::GrpcLibrary
- init_lib; // We need to call init in case of a bad creds.
+ GrpcLibraryCodegen init_lib; // We need to call init in case of a bad creds.
return creds
? creds->CreateChannel(target, args)
: CreateChannelInternal("", grpc_lame_client_channel_create(