forked from boostorg/container
Reduced template code bloat making stable_vector's index independent from value_type.
[SVN r80478]
This commit is contained in:
1 parent
a8d20305dc
commit
22a18c25fb
6 files changed
+700
-587
No files matched your search
@@ -1521,7 +1521,7 @@ class vector : private container_detail::vector_alloc_holder<A>
|
||||
container_detail::is_same<AllocVersion, allocator_v1>::value >::type * = 0)
|
||||
{
|
||||
if(this->members_.m_capacity){
|
||||
if(!size()){
|
||||
if(!this->size()){
|
||||
this->prot_deallocate();
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in new issue
Block a user