Skip to content

Commit

Permalink
Consistency in naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Oct 16, 2024
1 parent 5f995cb commit c4394ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/array/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -917,8 +917,8 @@ Result<std::shared_ptr<Array>> MakeEmptyArray(std::shared_ptr<DataType> type,
}

Result<std::shared_ptr<Array>> MakeMaskArray(const std::vector<int64_t>& indices,
int64_t length, MemoryPool* memory_pool) {
BooleanBuilder builder(memory_pool);
int64_t length, MemoryPool* pool) {
BooleanBuilder builder(pool);
RETURN_NOT_OK(builder.Resize(length));

auto i = indices.begin();
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Result<std::shared_ptr<Array>> MakeEmptyArray(std::shared_ptr<DataType> type,
ARROW_EXPORT
Result<std::shared_ptr<Array>> MakeMaskArray(
const std::vector<int64_t>& indices, int64_t length,
MemoryPool* memory_pool = default_memory_pool());
MemoryPool* pool = default_memory_pool());
/// @}

namespace internal {
Expand Down

0 comments on commit c4394ed

Please sign in to comment.