Trivial fix for empty ranges in node_alloc_holder

[SVN r84900]
This commit is contained in:
Ion Gaztañaga
2013-06-24 19:10:07 +00:00
parent b0f89115b3
commit f7accef426

View File

@@ -229,6 +229,7 @@ struct node_alloc_holder
void allocate_many_and_construct
(FwdIterator beg, difference_type n, Inserter inserter)
{
if(n){
/*
NodePtr p = this->allocate_one();
Deallocator node_deallocator(p, this->node_alloc());
@@ -272,6 +273,7 @@ struct node_alloc_holder
}
BOOST_CATCH_END
}
}
void clear(allocator_v1)
{ this->icont().clear_and_dispose(Destroyer(this->node_alloc())); }