Skip to content

Commit

Permalink
Remove extra assignment in lambda.
Browse files Browse the repository at this point in the history
  • Loading branch information
KiterLuc committed Mar 8, 2024
1 parent be30c6e commit 95160d5
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions tiledb/sm/query/readers/dense_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -447,17 +447,17 @@ Status DenseReader::dense_read() {
}
}

compute_task = storage_manager_->compute_tp()->execute(
[&,
filtered_data = filtered_data,
name,
validity_only,
t_start,
t_end,
subarray_start_cell,
subarray_end_cell,
num_range_threads,
result_tiles]() {
compute_task =
storage_manager_->compute_tp()->execute([&,
filtered_data,
name,
validity_only,
t_start,
t_end,
subarray_start_cell,
subarray_end_cell,
num_range_threads,
result_tiles]() {
// Unfilter tiles.
RETURN_NOT_OK(unfilter_tiles(name, validity_only, result_tiles));

Expand Down Expand Up @@ -919,8 +919,7 @@ Status DenseReader::apply_query_condition(
}

compute_task = storage_manager_->compute_tp()->execute([&,
filtered_data =
filtered_data,
filtered_data,
qc_names,
t_start,
t_end,
Expand Down

0 comments on commit 95160d5

Please sign in to comment.