diff options
author | 2016-01-27 18:41:26 -0800 | |
---|---|---|
committer | 2016-01-27 18:41:26 -0800 | |
commit | e1300deb87b5fca2b4361a753d0bd4d19b078ea4 (patch) | |
tree | 62016bec7621d6f1650472c20d56fdbf713f077c /src/cpp/client/create_channel.cc | |
parent | 6a48405ed003a416bd574d3f480b20e3dee9e9df (diff) |
After GrpcLibrary refactoring. Compiles and passes. WIP still
Diffstat (limited to 'src/cpp/client/create_channel.cc')
-rw-r--r-- | src/cpp/client/create_channel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc index 3bbca807d3..a65e1e83d6 100644 --- a/src/cpp/client/create_channel.cc +++ b/src/cpp/client/create_channel.cc @@ -36,6 +36,7 @@ #include <grpc++/channel.h> #include <grpc++/create_channel.h> +#include <grpc++/impl/grpc_library.h> #include <grpc++/support/channel_arguments.h> #include "src/cpp/client/create_channel_internal.h" @@ -53,7 +54,8 @@ std::shared_ptr<Channel> CreateCustomChannel( const grpc::string& target, const std::shared_ptr<ChannelCredentials>& creds, const ChannelArguments& args) { - GrpcLibrary init_lib; // We need to call init in case of a bad creds. + internal::GrpcLibrary + init_lib; // We need to call init in case of a bad creds. ChannelArguments cp_args = args; std::ostringstream user_agent_prefix; user_agent_prefix << "grpc-c++/" << grpc_version_string(); |