diff options
author | yang-g <yangg@google.com> | 2017-07-13 11:48:56 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-07-28 12:49:40 -0700 |
commit | 7d6b914f9836f99c199706274c4602030e3526dc (patch) | |
tree | 79e26362afef5ad422c11a2c63d1f0c99a0e3173 /test/cpp/microbenchmarks/bm_cq_multiple_threads.cc | |
parent | 533fbd362f96c573343403e85508390d0f81a2c5 (diff) |
Change return type to bool
Diffstat (limited to 'test/cpp/microbenchmarks/bm_cq_multiple_threads.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc index c1439ba5e7..f109fe6251 100644 --- a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc +++ b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc @@ -78,7 +78,7 @@ static grpc_error* pollset_work(grpc_exec_ctx* exec_ctx, grpc_pollset* ps, } gpr_mu_unlock(&ps->mu); - GPR_ASSERT(grpc_cq_begin_op(g_cq, g_tag) == 0); + GPR_ASSERT(grpc_cq_begin_op(g_cq, g_tag)); grpc_cq_end_op(exec_ctx, g_cq, g_tag, GRPC_ERROR_NONE, cq_done_cb, NULL, (grpc_cq_completion*)gpr_malloc(sizeof(grpc_cq_completion))); grpc_exec_ctx_flush(exec_ctx); |