diff options
author | Vijay Pai <vpai@google.com> | 2018-01-13 23:54:59 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-01-21 21:04:38 -0800 |
commit | fe75ef5b2d42b65c7363898825301b40f27b1714 (patch) | |
tree | 4e4b73e589e009158592cc2e23239994b5676c0f | |
parent | e1e7042919f698c2c3ea9a507c84b0ec859ed547 (diff) |
clang-format
-rw-r--r-- | src/cpp/common/alarm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/common/alarm.cc b/src/cpp/common/alarm.cc index 0c912900b5..0eecbb6261 100644 --- a/src/cpp/common/alarm.cc +++ b/src/cpp/common/alarm.cc @@ -46,8 +46,7 @@ class AlarmImpl : public CompletionQueueTag { alarm->Ref(); grpc_cq_end_op( alarm->cq_, alarm, error, - [](void* arg, grpc_cq_completion* completion) { - }, + [](void* arg, grpc_cq_completion* completion) {}, arg, &alarm->completion_); }, this, grpc_schedule_on_exec_ctx); @@ -80,6 +79,7 @@ class AlarmImpl : public CompletionQueueTag { Cancel(); Unref(); } + private: void Ref() { gpr_ref(&refs_); } void Unref() { |