Ticket #991: boost_pool_2.patch
File boost_pool_2.patch, 523 bytes (added by , 15 years ago) |
---|
-
pool.hpp
old new 209 209 // These functions are extensions! 210 210 size_type get_next_size() const { return next_size; } 211 211 void set_next_size(const size_type nnext_size) { next_size = nnext_size; } 212 size_type get_requested_size() const { return requested_size; } 212 213 213 214 // Both malloc and ordered_malloc do a quick inlined check first for any 214 215 // free chunks. Only if we need to get another memory block do we call