Reduced template code bloat making stable_vector's index independent from value_type.

[SVN r80478]
This commit is contained in:
Ion Gaztañaga
2012-09-09 21:47:32 +00:00
parent a8d20305dc
commit 22a18c25fb
6 changed files with 700 additions and 587 deletions
+1 -1
View File
@@ -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{