diff --git a/benchmarking/BenchmarkDeviceAdapter.cxx b/benchmarking/BenchmarkDeviceAdapter.cxx index b2c951d8e..ac15a4a2e 100644 --- a/benchmarking/BenchmarkDeviceAdapter.cxx +++ b/benchmarking/BenchmarkDeviceAdapter.cxx @@ -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();