save-buffer commented on code in PR #14225:
URL: https://github.com/apache/arrow/pull/14225#discussion_r1024652139


##########
r/src/memorypool.cpp:
##########
@@ -23,15 +23,23 @@ class GcMemoryPool : public arrow::MemoryPool {
  public:
   GcMemoryPool() : pool_(arrow::default_memory_pool()) {}
 
-  arrow::Status Allocate(int64_t size, uint8_t** out) override {
+  using MemoryPool::Allocate;
+  using MemoryPool::Free;
+  using MemoryPool::Reallocate;
+
+  arrow::Status Allocate(int64_t size, int64_t alignment, uint8_t** out) 
override {
     return GcAndTryAgain([&] { return pool_->Allocate(size, out); });

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to