2931 assert fix

This commit is contained in:
Marcos Pinto 2008-11-13 01:46:29 +00:00
parent 810f332ae8
commit 257f3274d0

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