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:
commit
b04e2ff3b8
@ -541,7 +541,7 @@ void BenchCountSetBitsImpl(benchmark::State& state,
|
|||||||
{
|
{
|
||||||
(void)_;
|
(void)_;
|
||||||
timer.Start();
|
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);
|
benchmark::DoNotOptimize(setBits);
|
||||||
timer.Stop();
|
timer.Stop();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user