assert fix

This commit is contained in:
Arvid Norberg 2008-11-12 22:24:55 +00:00
parent 0c1530a604
commit 4578f3426c
1 changed files with 1 additions and 1 deletions

View File

@ -3668,7 +3668,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