Skip to content

Commit

Permalink
null_mask move semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
isVoid committed Jun 7, 2021
1 parent bf666c5 commit 3c8cb01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/lists/copying/scatter_helper.cu
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ struct list_child_constructor {
auto const num_child_rows{
cudf::detail::get_value<size_type>(list_offsets, list_offsets.size() - 1, stream)};

auto const child_null_mask =
auto child_null_mask =
source_lists_column_view.child().nullable() || target_lists_column_view.child().nullable()
? construct_child_nullmask(
list_vector, list_offsets, source_lists, target_lists, num_child_rows, stream, mr)
: std::make_pair(rmm::device_buffer{}, 0);

auto child_column = cudf::make_fixed_width_column(source_lists_column_view.child().type(),
num_child_rows,
child_null_mask.first,
std::move(child_null_mask.first),
child_null_mask.second,
stream,
mr);
Expand Down

0 comments on commit 3c8cb01

Please sign in to comment.