diff --git a/test/server/filter_chain_benchmark_test.cc b/test/server/filter_chain_benchmark_test.cc index d099baf1e480..d3e7b58b1499 100644 --- a/test/server/filter_chain_benchmark_test.cc +++ b/test/server/filter_chain_benchmark_test.cc @@ -166,7 +166,7 @@ const char YamlSingleDstPortBottom[] = R"EOF( class FilterChainBenchmarkFixture : public benchmark::Fixture { public: - void SetUp(const ::benchmark::State& state) override { + void SetUp(::benchmark::State& state) override { int64_t input_size = state.range(0); std::vector port_chains; port_chains.reserve(input_size);