fixed invariant check in bandwidth_manager

This commit is contained in:
Arvid Norberg 2008-12-14 11:10:54 +00:00
parent d500460369
commit 3cb61809ce
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ struct bandwidth_manager
typename queue_t::const_iterator j = m_queue.begin();
if (j != m_queue.end())
{
bytes += j->max_block_size;
++j;
for (typename queue_t::const_iterator i = m_queue.begin()
, end(m_queue.end()); i != end && j != end; ++i, ++j)