Skip to content

Commit 70e9749

Browse files
committed
remove reference to bit_util::kBytePopcount
1 parent f0691d8 commit 70e9749

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cpp/src/arrow/acero/aggregate_benchmark.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
#include "benchmark/benchmark.h"
1919

20+
#include <bit>
2021
#include <cassert>
2122
#include <cmath>
2223
#include <iostream>
@@ -269,7 +270,7 @@ struct SumBitmapVectorizeUnroll : public Summer<T> {
269270
local.total += SUM_SHIFT(5);
270271
local.total += SUM_SHIFT(6);
271272
local.total += SUM_SHIFT(7);
272-
local.valid_count += bit_util::kBytePopcount[valid_byte];
273+
local.valid_count += std::popcount(valid_byte);
273274
} else {
274275
// No nulls
275276
local.total += values[i + 0] + values[i + 1] + values[i + 2] + values[i + 3] +

0 commit comments

Comments
 (0)