DHT optimization by using unordered free instead of ordered free on the pool

This commit is contained in:
Arvid Norberg 2007-10-01 05:20:00 +00:00
parent ede5a5b908
commit 157362b447
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ void intrusive_ptr_release(observer const* o)
{
boost::pool<>& p = o->pool_allocator;
o->~observer();
p.ordered_free(const_cast<observer*>(o));
p.free(const_cast<observer*>(o));
}
}