diff options
author | 2017-10-17 08:38:20 +0200 | |
---|---|---|
committer | 2017-10-17 08:38:20 +0200 | |
commit | 1f42fae4c5125c33f7b953d0d0073af8f8e4397e (patch) | |
tree | b99d5fc38a419dacdc6702cd3723d97038c2e319 /src/cpp/client/create_channel.cc | |
parent | c6175eda53a3c75b2ab52295c523cbc2cc6db8e4 (diff) |
Fix initialization bug in channel creation
Diffstat (limited to 'src/cpp/client/create_channel.cc')
-rw-r--r-- | src/cpp/client/create_channel.cc | 2 |
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) |