diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-25 08:16:02 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-25 08:16:02 -0800 |
commit | 5de79ee59f526f1eb0125d6544aaccdf5527afb4 (patch) | |
tree | ea9072ec1162ac6f17f199e546238b949aed2b8d /src/cpp | |
parent | 14890f4d87d3c91cf58404100a4994108ebb1928 (diff) |
clang-format
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/common/channel_arguments.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cpp/common/channel_arguments.cc b/src/cpp/common/channel_arguments.cc index 3536e35428..f1583de5a1 100644 --- a/src/cpp/common/channel_arguments.cc +++ b/src/cpp/common/channel_arguments.cc @@ -93,17 +93,14 @@ void ChannelArguments::SetPointer(const grpc::string& key, void* value) { struct VtableMembers { static void* Copy(void* in) { return in; } static void Destroy(void* in) {} - static int Compare(void* a, void *b) { + static int Compare(void* a, void* b) { if (a < b) return -1; if (a > b) return 1; return 0; } }; static const grpc_arg_pointer_vtable vtable = { - &VtableMembers::Copy, - &VtableMembers::Destroy, - &VtableMembers::Compare - }; + &VtableMembers::Copy, &VtableMembers::Destroy, &VtableMembers::Compare}; grpc_arg arg; arg.type = GRPC_ARG_POINTER; |