diff options
author | Craig Tiller <ctiller@google.com> | 2015-04-14 14:04:51 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-04-16 09:30:01 -0700 |
commit | 277d3cff7e07c8cc480a58edc972337b93503030 (patch) | |
tree | 867d6990b48ecd83fe88f8ef9d847a6881bf911d /include | |
parent | 15f9f95312666574a8a42c91e35fcd4b0aab5987 (diff) |
clang-format
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/impl/internal_stub.h | 3 | ||||
-rw-r--r-- | include/grpc++/impl/rpc_method.h | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/grpc++/impl/internal_stub.h b/include/grpc++/impl/internal_stub.h index 1b223d034f..370a3b8ac5 100644 --- a/include/grpc++/impl/internal_stub.h +++ b/include/grpc++/impl/internal_stub.h @@ -42,7 +42,8 @@ namespace grpc { class InternalStub { public: - InternalStub(const std::shared_ptr<ChannelInterface>& channel) : channel_(channel) {} + InternalStub(const std::shared_ptr<ChannelInterface>& channel) + : channel_(channel) {} virtual ~InternalStub() {} ChannelInterface* channel() { return channel_.get(); } 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 |