From 3c110662173ba64b7cbc3846f19d6d9e918e1cee Mon Sep 17 00:00:00 2001 From: vjpai Date: Fri, 27 Feb 2015 07:17:16 -0800 Subject: [PATCH] override->GRPC_OVERRIDE --- test/cpp/qps/client_async.cc | 6 +++--- test/cpp/qps/server_async.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/cpp/qps/client_async.cc b/test/cpp/qps/client_async.cc index 0c48f08ea02..24f4ac69686 100644 --- a/test/cpp/qps/client_async.cc +++ b/test/cpp/qps/client_async.cc @@ -122,9 +122,9 @@ class ClientRpcContextUnaryImpl : public ClientRpcContext { start_(now()), response_reader_( start_req(&context_, req_, ClientRpcContext::tag(this))) {} - ~ClientRpcContextUnaryImpl() override {} - bool operator()() override { return (this->*next_state_)(); } - void report_stats(gpr_histogram *hist) override { + ~ClientRpcContextUnaryImpl() GRPC_OVERRIDE {} + bool operator()() GRPC_OVERRIDE { return (this->*next_state_)(); } + void report_stats(gpr_histogram *hist) GRPC_OVERRIDE { gpr_histogram_add(hist, now() - start_); } diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc index b68c2c95483..67452294f98 100644 --- a/test/cpp/qps/server_async.cc +++ b/test/cpp/qps/server_async.cc @@ -199,9 +199,9 @@ class AsyncQpsServerTest { request_method_(&srv_ctx_, &req_, &response_writer_, AsyncQpsServerTest::tag(this)); } - ~ServerRpcContextUnaryImpl() override {} - bool operator()() override { return (this->*next_state_)(); } - void refresh() override { + ~ServerRpcContextUnaryImpl() GRPC_OVERRIDE {} + bool operator()() GRPC_OVERRIDE { return (this->*next_state_)(); } + void refresh() GRPC_OVERRIDE { srv_ctx_ = ServerContext(); req_ = RequestType(); response_writer_ =