diff options
Diffstat (limited to 'include/grpc++/impl/rpc_method.h')
-rw-r--r-- | include/grpc++/impl/rpc_method.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/grpc++/impl/rpc_method.h b/include/grpc++/impl/rpc_method.h index 3dfcdbad8f..50a160b08c 100644 --- a/include/grpc++/impl/rpc_method.h +++ b/include/grpc++/impl/rpc_method.h @@ -45,16 +45,17 @@ class RpcMethod { BIDI_STREAMING }; - RpcMethod(const char* name, RpcType type, void *channel_tag) : name_(name), method_type_(type), channel_tag_(channel_tag) {} + RpcMethod(const char* name, RpcType type, void* channel_tag) + : name_(name), method_type_(type), channel_tag_(channel_tag) {} const char* name() const { return name_; } RpcType method_type() const { return method_type_; } - void *channel_tag() const { return channel_tag_; } + void* channel_tag() const { return channel_tag_; } private: const char* const name_; const RpcType method_type_; - void * const channel_tag_; + void* const channel_tag_; }; } // namespace grpc |