diff --git a/sdk/test/metrics/meter_test.cc b/sdk/test/metrics/meter_test.cc index efec7c0412..7633270fbd 100644 --- a/sdk/test/metrics/meter_test.cc +++ b/sdk/test/metrics/meter_test.cc @@ -23,9 +23,9 @@ class MockMetricReader : public MetricReader { return AggregationTemporality::kCumulative; } - virtual bool OnShutDown(std::chrono::microseconds timeout) noexcept override { return true; } - virtual bool OnForceFlush(std::chrono::microseconds timeout) noexcept override { return true; } - virtual void OnInitialized() noexcept override {} + bool OnShutDown(std::chrono::microseconds timeout) noexcept override { return true; } + bool OnForceFlush(std::chrono::microseconds timeout) noexcept override { return true; } + void OnInitialized() noexcept override {} }; namespace