aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/server_async.cc
diff options
context:
space:
mode:
authorGravatar Yuxuan Li <yuxuanli@google.com>2017-05-05 10:57:35 -0700
committerGravatar Yuxuan Li <yuxuanli@google.com>2017-05-05 10:57:35 -0700
commitbfb495d026952048c7fee641879deea357075ad8 (patch)
tree2b2bc4bab199177c3d76b536fd90d5055bf241d4 /test/cpp/qps/server_async.cc
parenta33e2b27a130d06271d9ed6fa102e9010a1ad1d0 (diff)
add override to GetPollCount() function
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 7d00cb33dc..57f45d325f 100644
--- a/test/cpp/qps/server_async.cc
+++ b/test/cpp/qps/server_async.cc
@@ -158,7 +158,7 @@ class AsyncQpsServerTest final : public grpc::testing::Server {
shutdown_thread.join();
}
- int GetPollCount() {
+ 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());