Imported Upstream version 1.33.1
[platform/upstream/grpc.git] / test / cpp / microbenchmarks / fullstack_fixtures.h
index 9ba190b..73b4e41 100644 (file)
@@ -84,7 +84,7 @@ class FullstackFixture : public BaseFixture {
     }
   }
 
-  ~FullstackFixture() override {
+  virtual ~FullstackFixture() {
     server_->Shutdown();
     cq_->Shutdown();
     void* tag;
@@ -93,7 +93,7 @@ class FullstackFixture : public BaseFixture {
     }
   }
 
-  void AddToLabel(std::ostream& out, benchmark::State& state) override {
+  void AddToLabel(std::ostream& out, benchmark::State& state) {
     BaseFixture::AddToLabel(out, state);
     out << " polls/iter:"
         << static_cast<double>(grpc_get_cq_poll_num(this->cq()->cq())) /
@@ -115,7 +115,7 @@ class TCP : public FullstackFixture {
                             FixtureConfiguration())
       : FullstackFixture(service, fixture_configuration, MakeAddress(&port_)) {}
 
-  ~TCP() override { grpc_recycle_unused_port(port_); }
+  ~TCP() { grpc_recycle_unused_port(port_); }
 
  private:
   int port_;
@@ -134,7 +134,7 @@ class UDS : public FullstackFixture {
                             FixtureConfiguration())
       : FullstackFixture(service, fixture_configuration, MakeAddress(&port_)) {}
 
-  ~UDS() override { grpc_recycle_unused_port(port_); }
+  ~UDS() { grpc_recycle_unused_port(port_); }
 
  private:
   int port_;
@@ -154,7 +154,7 @@ class InProcess : public FullstackFixture {
             const FixtureConfiguration& fixture_configuration =
                 FixtureConfiguration())
       : FullstackFixture(service, fixture_configuration, "") {}
-  ~InProcess() override {}
+  ~InProcess() {}
 };
 
 class EndpointPairFixture : public BaseFixture {
@@ -209,7 +209,7 @@ class EndpointPairFixture : public BaseFixture {
     }
   }
 
-  ~EndpointPairFixture() override {
+  virtual ~EndpointPairFixture() {
     server_->Shutdown();
     cq_->Shutdown();
     void* tag;
@@ -218,7 +218,7 @@ class EndpointPairFixture : public BaseFixture {
     }
   }
 
-  void AddToLabel(std::ostream& out, benchmark::State& state) override {
+  void AddToLabel(std::ostream& out, benchmark::State& state) {
     BaseFixture::AddToLabel(out, state);
     out << " polls/iter:"
         << static_cast<double>(grpc_get_cq_poll_num(this->cq()->cq())) /
@@ -261,13 +261,13 @@ class InProcessCHTTP2WithExplicitStats : public EndpointPairFixture {
                             fixture_configuration),
         stats_(stats) {}
 
-  ~InProcessCHTTP2WithExplicitStats() override {
+  virtual ~InProcessCHTTP2WithExplicitStats() {
     if (stats_ != nullptr) {
       grpc_passthru_endpoint_stats_destroy(stats_);
     }
   }
 
-  void AddToLabel(std::ostream& out, benchmark::State& state) override {
+  void AddToLabel(std::ostream& out, benchmark::State& state) {
     EndpointPairFixture::AddToLabel(out, state);
     out << " writes/iter:"
         << static_cast<double>(gpr_atm_no_barrier_load(&stats_->num_writes)) /