Skip to content
Snippets Groups Projects
Commit bfb495d0 authored by Yuxuan Li's avatar Yuxuan Li
Browse files

add override to GetPollCount() function

parent a33e2b27
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@ class AsyncClient : public ClientImpl<StubType, RequestType> {
}
}
int GetPollCount() {
int GetPollCount() override {
int count = 0;
for (auto cq = cli_cqs_.begin(); cq != cli_cqs_.end(); cq++) {
count += (int)grpc_get_cq_poll_num((*cq)->cq());
......
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment