From 3a9cec22265258fd878403350d1ac27266d9d508 Mon Sep 17 00:00:00 2001 From: Vasil Pashov Date: Thu, 19 Dec 2024 19:51:19 +0200 Subject: [PATCH] Replace variable with fn call --- cpp/arcticdb/version/version_core.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/arcticdb/version/version_core.cpp b/cpp/arcticdb/version/version_core.cpp index f7b2c787c7..48e877264d 100644 --- a/cpp/arcticdb/version/version_core.cpp +++ b/cpp/arcticdb/version/version_core.cpp @@ -350,10 +350,9 @@ folly::Future 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,