aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl/rpc_method.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-01-19 18:14:29 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-01-19 18:44:47 -0800
commita701ed77592c18560326131cb37fcd5c29de83fe (patch)
tree2dcdad6844ca2bce92633d44ce03f68520e39e2b /include/grpc++/impl/rpc_method.h
parent4a0f8ea5355166706cabdd1ca984ae10341ab64b (diff)
parent1f4e72c19c184eb9395d27e1c560c9c0cb1bfd4f (diff)
Merge branch 'proto_interfaces' into yang-g-sync_async_mix
Diffstat (limited to 'include/grpc++/impl/rpc_method.h')
-rw-r--r--include/grpc++/impl/rpc_method.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/impl/rpc_method.h b/include/grpc++/impl/rpc_method.h
index 9800268062..cc29f6db49 100644
--- a/include/grpc++/impl/rpc_method.h
+++ b/include/grpc++/impl/rpc_method.h
@@ -36,7 +36,7 @@
#include <memory>
-#include <grpc++/channel.h>
+#include <grpc++/impl/codegen/channel_interface.h>
namespace grpc {
@@ -53,7 +53,7 @@ class RpcMethod {
: name_(name), method_type_(type), channel_tag_(NULL) {}
RpcMethod(const char* name, RpcType type,
- const std::shared_ptr<Channel>& channel)
+ const std::shared_ptr<ChannelInterface>& channel)
: name_(name),
method_type_(type),
channel_tag_(channel->RegisterMethod(name)) {}