forked from premiere/premiere-libtorrent
promoted an expensive invariant check to only be built with full invariant checks
This commit is contained in:
parent
9507052797
commit
065c33969a
|
@ -830,7 +830,9 @@ namespace libtorrent
|
||||||
|
|
||||||
void piece_picker::dec_refcount_all()
|
void piece_picker::dec_refcount_all()
|
||||||
{
|
{
|
||||||
|
#ifdef TORRENT_EXPENSIVE_INVARIANT_CHECKS
|
||||||
TORRENT_PIECE_PICKER_INVARIANT_CHECK;
|
TORRENT_PIECE_PICKER_INVARIANT_CHECK;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (m_seeds > 0)
|
if (m_seeds > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue