diff options
author | Mark D. Roth <roth@google.com> | 2016-12-14 12:39:03 -0800 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-12-14 12:39:03 -0800 |
commit | 13f35746426b9dcca3d751b3f7f298859ae18936 (patch) | |
tree | 510dde3ac4d54ab7608f9d0658148111fef0c029 /src/cpp/common/channel_filter.h | |
parent | d118da943f027fafc8a29b9fcfb40b89d7742921 (diff) |
clang-format
Diffstat (limited to 'src/cpp/common/channel_filter.h')
-rw-r--r-- | src/cpp/common/channel_filter.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cpp/common/channel_filter.h b/src/cpp/common/channel_filter.h index f4652cee77..c9f50df732 100644 --- a/src/cpp/common/channel_filter.h +++ b/src/cpp/common/channel_filter.h @@ -216,8 +216,7 @@ class TransportStreamOp { /// Represents channel data. class ChannelData { public: - virtual ~ChannelData() { - } + virtual ~ChannelData() {} /// Initializes the call data. virtual grpc_error *Init(grpc_exec_ctx *exec_ctx, @@ -309,8 +308,7 @@ class ChannelFilter final { static grpc_error *InitCallElement(grpc_exec_ctx *exec_ctx, grpc_call_element *elem, grpc_call_element_args *args) { - ChannelDataType *channel_data = - (ChannelDataType *)elem->channel_data; + ChannelDataType *channel_data = (ChannelDataType *)elem->channel_data; // Construct the object in the already-allocated memory. CallDataType *call_data = new (elem->call_data) CallDataType(); return call_data->Init(exec_ctx, channel_data, args); |