diff --git a/src/cpp/src/block_manager.hpp b/src/cpp/src/block_manager.hpp index 52232d3971..7f12bfd8d6 100644 --- a/src/cpp/src/block_manager.hpp +++ b/src/cpp/src/block_manager.hpp @@ -251,7 +251,7 @@ class BlockManager { return m_block_table[seq_id]; } - const bool free_group_partially(SequenceGroup::Ptr sequence_group, size_t num_required_blocks) { + const size_t free_group_partially(SequenceGroup::Ptr sequence_group, size_t num_required_blocks) { size_t blocks_num = std::ceil(num_required_blocks / sequence_group->get_not_finished_sequences().size()); auto running_sequences = sequence_group->get_not_finished_sequences(); std::set blocks_released_indices;