Skip to content

Commit 5142ac3

Browse files
committed
Don't use deprecated GBenchmark interfaces
1 parent b6bff98 commit 5142ac3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/arrow/column-benchmark.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ std::shared_ptr<Array> MakePrimitive(int32_t length, int32_t null_count = 0) {
3737
static void BM_BuildInt32ColumnByChunk(
3838
benchmark::State& state) { // NOLINT non-const reference
3939
ArrayVector arrays;
40-
for (int chunk_n = 0; chunk_n < state.range_x(); ++chunk_n) {
40+
for (int chunk_n = 0; chunk_n < state.range(0); ++chunk_n) {
4141
arrays.push_back(MakePrimitive<Int32Array>(100, 10));
4242
}
4343
const auto INT32 = std::make_shared<Int32Type>();

0 commit comments

Comments
 (0)