formatting

This commit is contained in:
Sylvain Pion 2007-06-08 21:22:45 +00:00
parent 7d543ae42a
commit bea63ec2f6
1 changed files with 7 additions and 8 deletions

View File

@ -575,15 +575,14 @@ void Compact_container<T, Allocator>::allocate_new_block()
first_item = new_block;
last_item = new_block + block_size + 1;
set_type(first_item, NULL, START_END);
set_type(last_item, NULL, START_END);
}
else
{
set_type(last_item, new_block, BLOCK_BOUNDARY);
set_type(new_block, last_item, BLOCK_BOUNDARY);
last_item = new_block + block_size + 1;
set_type(last_item, NULL, START_END);
}
set_type(last_item, NULL, START_END);
// Increase the block_size for the next time.
block_size += 16;
}