promoted an expensive invariant check to only be built with full invariant checks
This commit is contained in:
@@ -830,7 +830,9 @@ namespace libtorrent
|
||||
|
||||
void piece_picker::dec_refcount_all()
|
||||
{
|
||||
#ifdef TORRENT_EXPENSIVE_INVARIANT_CHECKS
|
||||
TORRENT_PIECE_PICKER_INVARIANT_CHECK;
|
||||
#endif
|
||||
|
||||
if (m_seeds > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user