Skip to content

Commit

Permalink
Make function static
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou authored Aug 29, 2024
1 parent b5b6750 commit c29a69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/memory_pool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ class PoolBuffer final : public ResizableBuffer {
}

private:
Result<int64_t> RoundCapacity(int64_t capacity) {
static Result<int64_t> RoundCapacity(int64_t capacity) {
if (capacity > std::numeric_limits<int64_t>::max() - 63) {
return Status::OutOfMemory("capacity too large");
}
Expand Down

0 comments on commit c29a69a

Please sign in to comment.