Ticket #991: boost_pool_2.patch

File boost_pool_2.patch, 523 bytes (added by Marcus Lindblom <macke@…>, 15 years ago)

Patch for this bug

  • pool.hpp

    old new  
    209209    // These functions are extensions!
    210210    size_type get_next_size() const { return next_size; }
    211211    void set_next_size(const size_type nnext_size) { next_size = nnext_size; }
     212    size_type get_requested_size() const { return requested_size; }
    212213
    213214    // Both malloc and ordered_malloc do a quick inlined check first for any
    214215    //  free chunks.  Only if we need to get another memory block do we call