merged fixes from RC_0_16

This commit is contained in:
Arvid Norberg
2012-10-21 20:24:14 +00:00
parent f61b95f782
commit 16630f94d1
5 changed files with 22 additions and 4 deletions

View File

@@ -989,7 +989,7 @@ namespace libtorrent
#ifdef TORRENT_EXPENSIVE_INVARIANT_CHECKS
TORRENT_PIECE_PICKER_INVARIANT_CHECK;
#endif
TORRENT_ASSERT(bitmask.size() == m_piece_map.size());
TORRENT_ASSERT(bitmask.size() <= m_piece_map.size());
int index = 0;
bool updated = false;