diff options
author | Vijay Pai <vpai@google.com> | 2018-01-03 10:45:56 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-01-03 10:45:56 -0800 |
commit | ae3e857eb60e9f6d195a73b7c576f065a2152780 (patch) | |
tree | 91a09709c3d0c9b3a4e9f42ddb988f8e4e74de7a /src | |
parent | 849bd73c4fe28ec880d111522fce05cda7126c93 (diff) |
Revert unneeded changes
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/surface/completion_queue.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lib/surface/completion_queue.cc b/src/core/lib/surface/completion_queue.cc index e3eef6ca50..aa5808da4c 100644 --- a/src/core/lib/surface/completion_queue.cc +++ b/src/core/lib/surface/completion_queue.cc @@ -780,11 +780,10 @@ typedef struct { bool first_loop; } cq_is_finished_arg; -class ExecCtxNext final : public grpc_core::ExecCtx { +class ExecCtxNext : public grpc_core::ExecCtx { public: ExecCtxNext(void* arg) : ExecCtx(0), check_ready_to_finish_arg_(arg) {} - private: bool CheckReadyToFinish() override { cq_is_finished_arg* a = (cq_is_finished_arg*)check_ready_to_finish_arg_; grpc_completion_queue* cq = a->cq; @@ -812,6 +811,7 @@ class ExecCtxNext final : public grpc_core::ExecCtx { return !a->first_loop && a->deadline < grpc_core::ExecCtx::Get()->Now(); } + private: void* check_ready_to_finish_arg_; }; @@ -1035,11 +1035,10 @@ static void del_plucker(grpc_completion_queue* cq, void* tag, GPR_UNREACHABLE_CODE(return ); } -class ExecCtxPluck final : public grpc_core::ExecCtx { +class ExecCtxPluck : public grpc_core::ExecCtx { public: ExecCtxPluck(void* arg) : ExecCtx(0), check_ready_to_finish_arg_(arg) {} - private: bool CheckReadyToFinish() override { cq_is_finished_arg* a = (cq_is_finished_arg*)check_ready_to_finish_arg_; grpc_completion_queue* cq = a->cq; @@ -1073,6 +1072,7 @@ class ExecCtxPluck final : public grpc_core::ExecCtx { return !a->first_loop && a->deadline < grpc_core::ExecCtx::Get()->Now(); } + private: void* check_ready_to_finish_arg_; }; |