Skip to content

Commit ab7611c

Browse files
committed
Disallow copy and assign in ArrayBuilder
Change-Id: I5f690d47670ebdd6d03940603a4a64388a3ccdf9
1 parent 2a4db73 commit ab7611c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cpp/src/arrow/builder.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ class ARROW_EXPORT ArrayBuilder {
154154
void UnsafeAppendToBitmap(const uint8_t* valid_bytes, int64_t length);
155155
// Set the next length bits to not null (i.e. valid).
156156
void UnsafeSetNotNull(int64_t length);
157+
158+
private:
159+
ARROW_DISALLOW_COPY_AND_ASSIGN(ArrayBuilder);
157160
};
158161

159162
class ARROW_EXPORT NullBuilder : public ArrayBuilder {

0 commit comments

Comments
 (0)