Skip to content

Commit

Permalink
construct offset_builder_ with a MemoryPool
Browse files Browse the repository at this point in the history
  • Loading branch information
bkietz committed Jul 11, 2019
1 parent 4131fe3 commit 17e6e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/array/builder_union.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ARROW_EXPORT DenseUnionBuilder : public BasicUnionBuilder {
/// allowing type to be inferred. You will need to call AppendChild for each of the
/// children builders you want to use.
explicit DenseUnionBuilder(MemoryPool* pool)
: BasicUnionBuilder(pool, UnionMode::DENSE) {}
: BasicUnionBuilder(pool, UnionMode::DENSE), offsets_builder_(pool) {}

/// Use this constructor to specify the type explicitly.
/// You can still add child builders to the union after using this constructor
Expand Down

0 comments on commit 17e6e27

Please sign in to comment.