2931 assert fix

This commit is contained in:
Marcos Pinto 2008-11-13 01:46:29 +00:00
parent c99736f207
commit 06231c1799

View File

@ -3618,7 +3618,7 @@ namespace libtorrent
}
else
{
TORRENT_ASSERT(m_abort || m_picker->num_pieces() == 0);
TORRENT_ASSERT(m_abort || !m_picker || m_picker->num_pieces() == 0);
}
#ifdef TORRENT_EXPENSIVE_INVARIANT_CHECKS