Skip to content

Commit

Permalink
Replace variable with fn call
Browse files Browse the repository at this point in the history
  • Loading branch information
vasil-pashov committed Dec 19, 2024
1 parent d87193e commit 3a9cec2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/arcticdb/version/version_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,9 @@ folly::Future<AtomKey> async_update_impl(
(void)check_and_mark_slices(index_segment_reader, dynamic_schema, false, std::nullopt, bucketize_dynamic);
fix_descriptor_mismatch_or_throw(UPDATE, dynamic_schema, index_segment_reader, *frame, empty_types);
frame->set_bucketize_dynamic(bucketize_dynamic);
const auto slicing_arg = get_slicing_policy(options, *frame);
return slice_and_write(
frame,
slicing_arg,
get_slicing_policy(options, *frame),
IndexPartialKey{stream_id, update_info.next_version_id_}, store
).thenValue([
store,
Expand Down

0 comments on commit 3a9cec2

Please sign in to comment.