override->GRPC_OVERRIDE

changes/33/217533/1
vjpai 10 years ago
parent c4d4bd79a3
commit 3c11066217
  1. 6
      test/cpp/qps/client_async.cc
  2. 6
      test/cpp/qps/server_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_);
}

@ -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_ =

Loading…
Cancel
Save