Merge topic 'benchmark-deprecation-warning'

c72256e55 Fix deprecation warning from Google benchmark

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3220
This commit is contained in:
Kenneth Moreland 2024-05-13 17:51:31 +00:00 committed by Kitware Robot
commit b04e2ff3b8

@ -541,7 +541,7 @@ void BenchCountSetBitsImpl(benchmark::State& state,
{
(void)_;
timer.Start();
const vtkm::Id setBits = vtkm::cont::Algorithm::CountSetBits(Config.Device, bits);
vtkm::Id setBits = vtkm::cont::Algorithm::CountSetBits(Config.Device, bits);
benchmark::DoNotOptimize(setBits);
timer.Stop();