mirror of https://github.com/CGAL/cgal
white space
This commit is contained in:
parent
81c2c1196a
commit
7cc420381e
|
|
@ -67,7 +67,7 @@ namespace CGAL {
|
||||||
|
|
||||||
template < class T, class Allocator_, class Increment_policy, class IndexType>
|
template < class T, class Allocator_, class Increment_policy, class IndexType>
|
||||||
class Compact_container_with_index_2;
|
class Compact_container_with_index_2;
|
||||||
|
|
||||||
template<unsigned int k>
|
template<unsigned int k>
|
||||||
struct Multiply_by_two_policy_for_cc_with_size
|
struct Multiply_by_two_policy_for_cc_with_size
|
||||||
{
|
{
|
||||||
|
|
@ -523,7 +523,7 @@ public:
|
||||||
{ allocate_new_block(); }
|
{ allocate_new_block(); }
|
||||||
ret=size_;
|
ret=size_;
|
||||||
++last_index;
|
++last_index;
|
||||||
}
|
}
|
||||||
|
|
||||||
T& e = operator[](ret);
|
T& e = operator[](ret);
|
||||||
used[ret]=true;
|
used[ret]=true;
|
||||||
|
|
@ -759,7 +759,7 @@ void Compact_container_with_index_2<T, Allocator, Increment_policy, IndexType>::
|
||||||
all_items=nullptr;
|
all_items=nullptr;
|
||||||
used.clear();
|
used.clear();
|
||||||
free_list.clear();
|
free_list.clear();
|
||||||
|
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -769,7 +769,7 @@ void Compact_container_with_index_2<T, Allocator, Increment_policy, IndexType>::
|
||||||
size_type oldcapacity=capacity_;
|
size_type oldcapacity=capacity_;
|
||||||
capacity_ += block_size;
|
capacity_ += block_size;
|
||||||
used.resize(capacity_, false);
|
used.resize(capacity_, false);
|
||||||
|
|
||||||
pointer all_items2=
|
pointer all_items2=
|
||||||
std::allocator_traits<allocator_type>::allocate(alloc, capacity_);
|
std::allocator_traits<allocator_type>::allocate(alloc, capacity_);
|
||||||
for (size_type index=0; index<oldcapacity; ++index)
|
for (size_type index=0; index<oldcapacity; ++index)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue