Skip to content
Snippets Groups Projects
Commit 3c110662 authored by vjpai's avatar vjpai
Browse files

override->GRPC_OVERRIDE

parent c4d4bd79
No related branches found
No related tags found
No related merge requests found
...@@ -122,9 +122,9 @@ class ClientRpcContextUnaryImpl : public ClientRpcContext { ...@@ -122,9 +122,9 @@ class ClientRpcContextUnaryImpl : public ClientRpcContext {
start_(now()), start_(now()),
response_reader_( response_reader_(
start_req(&context_, req_, ClientRpcContext::tag(this))) {} start_req(&context_, req_, ClientRpcContext::tag(this))) {}
~ClientRpcContextUnaryImpl() override {} ~ClientRpcContextUnaryImpl() GRPC_OVERRIDE {}
bool operator()() override { return (this->*next_state_)(); } bool operator()() GRPC_OVERRIDE { return (this->*next_state_)(); }
void report_stats(gpr_histogram *hist) override { void report_stats(gpr_histogram *hist) GRPC_OVERRIDE {
gpr_histogram_add(hist, now() - start_); gpr_histogram_add(hist, now() - start_);
} }
......
...@@ -199,9 +199,9 @@ class AsyncQpsServerTest { ...@@ -199,9 +199,9 @@ class AsyncQpsServerTest {
request_method_(&srv_ctx_, &req_, &response_writer_, request_method_(&srv_ctx_, &req_, &response_writer_,
AsyncQpsServerTest::tag(this)); AsyncQpsServerTest::tag(this));
} }
~ServerRpcContextUnaryImpl() override {} ~ServerRpcContextUnaryImpl() GRPC_OVERRIDE {}
bool operator()() override { return (this->*next_state_)(); } bool operator()() GRPC_OVERRIDE { return (this->*next_state_)(); }
void refresh() override { void refresh() GRPC_OVERRIDE {
srv_ctx_ = ServerContext(); srv_ctx_ = ServerContext();
req_ = RequestType(); req_ = RequestType();
response_writer_ = response_writer_ =
......
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