felipecrv commented on code in PR #36431:
URL: https://github.com/apache/arrow/pull/36431#discussion_r1252267962


##########
cpp/src/arrow/array/util.cc:
##########
@@ -77,7 +77,9 @@ class ArrayDataWrapper {
 
 class ArrayDataEndianSwapper {
  public:
-  explicit ArrayDataEndianSwapper(const std::shared_ptr<ArrayData>& data) : 
data_(data) {
+  explicit ArrayDataEndianSwapper(const std::shared_ptr<ArrayData>& data,
+                                  MemoryPool* pool)
+      : data_(data), pool_(pool) {

Review Comment:
   > So compiler will prevent from that calling
   
   But you have `= default_memory_pool()` as a default value argument, no?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to