- for (uint32_t n = 0; n < thread_buffers->bufsize() - 1; ++n) {
- thread_buffers->buffer()[n]->ensure_buffers (howmany);
- }
+ for (ThreadBufferList::iterator i = thread_buffers_list->begin(); i != thread_buffers_list->end(); ++i) {
+ (*i)->ensure_buffers (howmany, custom);
+ }