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


##########
cpp/src/arrow/buffer_builder.h:
##########
@@ -198,6 +203,7 @@ class ARROW_EXPORT BufferBuilder {
   uint8_t* data_;
   int64_t capacity_;
   int64_t size_;
+  int64_t alignment_;

Review Comment:
   This seems to cause a bunch of compilation issues for me: 
   
   ```
   /Users/sasha/arrow/cpp/src/arrow/array/builder_base.h:76:3: error: 
explicitly defaulted move assignment operator is implicitly deleted 
[-Werror,-Wdefaulted-function-deleted]
   
   ...
   
   /Users/sasha/arrow/cpp/src/arrow/buffer_builder.h:206:17: note: copy 
assignment operator of 'BufferBuilder' is implicitly deleted because field 
'alignment_' is of const-qualified type 'const int64_t' (aka 'const long long')
     const int64_t alignment_;
   ```



-- 
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