Skip to content

Commit

Permalink
Remove using declarations in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Oct 10, 2024
1 parent b7e977e commit 786a055
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cpp/src/arrow/chunk_resolver_benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@

namespace arrow {

using ChunkResolver;
using TypedChunkLocation;

namespace {

int64_t constexpr kChunkedArrayLength = std::numeric_limits<uint16_t>::max();
Expand Down Expand Up @@ -86,8 +83,8 @@ struct ResolveManyBenchmark {
const auto max_random_index = static_cast<IndexType>(chunked_array_length);
auto offsets = GenChunkedArrayOffsets();
auto logical_indices = GenRandomIndices<IndexType>(max_random_index, sorted);
ChunkResolver resolver(std::move(offsets));
std::vector<TypedChunkLocation<IndexType>> chunk_location_vec(num_logical_indices);
arrow::ChunkResolver resolver(std::move(offsets));
std::vector<arrow::TypedChunkLocation<IndexType>> chunk_location_vec(num_logical_indices);
BENCHMARK_UNUSED bool all_succeeded = true;
for (auto _ : state) {
const bool success = resolver.ResolveMany<IndexType>(
Expand Down

0 comments on commit 786a055

Please sign in to comment.