Fix compiler error in include/util/range_table.hpp
This commit is contained in:
parent
81d6e1f82e
commit
bb58c9db28
@ -80,9 +80,9 @@ template <unsigned BLOCK_SIZE, storage::Ownership Ownership> class RangeTable
|
|||||||
unsigned last_length = 0;
|
unsigned last_length = 0;
|
||||||
unsigned lengths_prefix_sum = 0;
|
unsigned lengths_prefix_sum = 0;
|
||||||
unsigned block_idx = 0;
|
unsigned block_idx = 0;
|
||||||
unsigned block_counter = 0;
|
|
||||||
BlockT block;
|
BlockT block;
|
||||||
#ifndef BOOST_ASSERT_IS_VOID
|
#ifndef BOOST_ASSERT_IS_VOID
|
||||||
|
unsigned block_counter = 0;
|
||||||
unsigned block_sum = 0;
|
unsigned block_sum = 0;
|
||||||
#endif
|
#endif
|
||||||
for (const unsigned l : lengths)
|
for (const unsigned l : lengths)
|
||||||
@ -110,7 +110,9 @@ template <unsigned BLOCK_SIZE, storage::Ownership Ownership> class RangeTable
|
|||||||
if (BLOCK_SIZE == block_idx)
|
if (BLOCK_SIZE == block_idx)
|
||||||
{
|
{
|
||||||
diff_blocks.push_back(block);
|
diff_blocks.push_back(block);
|
||||||
|
#ifndef BOOST_ASSERT_IS_VOID
|
||||||
block_counter++;
|
block_counter++;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// we can only store strings with length 255
|
// we can only store strings with length 255
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user