diff options
author | 2018-10-21 23:06:21 -0700 | |
---|---|---|
committer | 2018-10-21 23:06:21 -0700 | |
commit | 3a17f5b05ec6adce638fd03168a923e727759969 (patch) | |
tree | 9d8cb4f288ac2723761baeff868daa1de7540f86 /include/grpcpp | |
parent | 52765e9cb1e18780fcd4701e91e019bf78c9b957 (diff) |
Working on tests
Diffstat (limited to 'include/grpcpp')
-rw-r--r-- | include/grpcpp/impl/codegen/client_interceptor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpcpp/impl/codegen/client_interceptor.h b/include/grpcpp/impl/codegen/client_interceptor.h index 6feec224ce..06f009e7d3 100644 --- a/include/grpcpp/impl/codegen/client_interceptor.h +++ b/include/grpcpp/impl/codegen/client_interceptor.h @@ -47,7 +47,7 @@ class ClientRpcInfo { public: ClientRpcInfo() {} ClientRpcInfo(grpc::ClientContext* ctx, const char* method, - const grpc::Channel* channel, + grpc::Channel* channel, const std::vector<std::unique_ptr< experimental::ClientInterceptorFactoryInterface>>& creators) : ctx_(ctx), method_(method), channel_(channel) { @@ -64,7 +64,7 @@ class ClientRpcInfo { // Getter methods const char* method() { return method_; } - const Channel* channel() { return channel_; } + Channel* channel() { return channel_; } grpc::ClientContext* client_context() { return ctx_; } public: @@ -79,7 +79,7 @@ class ClientRpcInfo { private: grpc::ClientContext* ctx_ = nullptr; const char* method_ = nullptr; - const grpc::Channel* channel_ = nullptr; + grpc::Channel* channel_ = nullptr; std::vector<std::unique_ptr<experimental::Interceptor>> interceptors_; bool hijacked_ = false; int hijacked_interceptor_ = false; |