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

[SVN r80478]
This commit is contained in:
Ion Gaztañaga committed 2012-09-09 21:47:32 +00:00
1 parent a8d20305dc
commit 22a18c25fb
6 files changed
+700 -587

No files matched your search

+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{