refactor DeallocatingVector, apply boost::iterator_facade

This commit is contained in:
Dennis Luxen 2014-07-17 18:26:14 +02:00
parent 5840829cdc
commit d5a9f8e177

View File

@ -233,7 +233,7 @@ class DeallocatingVector
else
{
const std::size_t number_of_necessary_buckets = 1 + (new_size / ELEMENTS_PER_BLOCK);
for (auto bucket : bucket_list.size())
for (auto bucket : bucket_list)
{
delete[] bucket;
}