fixed assert

This commit is contained in:
Arvid Norberg 2009-05-31 10:43:29 +00:00
parent d45e6cb118
commit 6b4fcfcd38
1 changed files with 1 additions and 1 deletions

View File

@ -1977,7 +1977,7 @@ namespace libtorrent
#endif
}
}
TORRENT_ASSERT(int(m_download_queue.size()) > block_index + 1);
TORRENT_ASSERT(int(m_download_queue.size()) > block_index);
b = m_download_queue.begin() + block_index;
TORRENT_ASSERT(*b == pending_b);