aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Chilledheart <rwindz0@gmail.com>2015-03-10 00:43:11 +0800
committerGravatar Chilledheart <rwindz0@gmail.com>2015-03-10 00:46:10 +0800
commit4be94b9541c19d315b91a13e363fea805af4e053 (patch)
tree0b72bd19c53041c1b1b44033c3eaf6c122fb8d44 /test
parent75c60c1a43a2b2a7b21967d7ea6d2dda5a351348 (diff)
Add missing GRPC_OVERRIDE, NFC
Testing asan configuration with the latest clang compiler fails due to the warning `-Winconsistent-missing-override`. This patch fixes it.
Diffstat (limited to 'test')
-rw-r--r--test/cpp/qps/client_async.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/client_async.cc b/test/cpp/qps/client_async.cc
index 5eb9ff6521..c6535bebf8 100644
--- a/test/cpp/qps/client_async.cc
+++ b/test/cpp/qps/client_async.cc
@@ -94,7 +94,7 @@ class ClientRpcContextUnaryImpl : public ClientRpcContext {
hist->Add((Timer::Now() - start_) * 1e9);
}
- void StartNewClone() {
+ void StartNewClone() GRPC_OVERRIDE {
new ClientRpcContextUnaryImpl(stub_, req_, start_req_, callback_);
}
@@ -175,7 +175,7 @@ class AsyncClient GRPC_FINAL : public Client {
}
}
- void ThreadFunc(Histogram *histogram, size_t thread_idx) {
+ void ThreadFunc(Histogram *histogram, size_t thread_idx) GRPC_OVERRIDE {
void *got_tag;
bool ok;
cli_cqs_[thread_idx]->Next(&got_tag, &ok);