aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/server_async.cc
diff options
context:
space:
mode:
authorGravatar Yuxuan Li <yuxuanli@google.com>2017-05-08 11:36:07 -0700
committerGravatar Yuxuan Li <yuxuanli@google.com>2017-05-08 11:36:07 -0700
commit57e12b1786aa21fadc11704d84db66e38c480453 (patch)
treedb2684a6e392977ed3ef96746dd28f04ce0bea44 /test/cpp/qps/server_async.cc
parenta7f7fcf94ac4d32152ef7fdd8e558e18393e1706 (diff)
parent85d3a539053d6960473bc78a2818d94b7953c197 (diff)
Merge branch 'poll_stat' of github.com:lyuxuan/grpc into poll_stat
Diffstat (limited to 'test/cpp/qps/server_async.cc')
-rw-r--r--test/cpp/qps/server_async.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc
index 952b334119..3403ffd326 100644
--- a/test/cpp/qps/server_async.cc
+++ b/test/cpp/qps/server_async.cc
@@ -189,7 +189,7 @@ class AsyncQpsServerTest final : public grpc::testing::Server {
int GetPollCount() override {
int count = 0;
for (auto cq = srv_cqs_.begin(); cq != srv_cqs_.end(); cq++) {
- count += (int)grpc_get_cq_poll_num((*cq)->cq());
+ count += grpc_get_cq_poll_num((*cq)->cq());
}
return count;
}