commented out an expensive invariant check

This commit is contained in:
Arvid Norberg 2006-12-18 01:24:35 +00:00
parent 3a7eeb3966
commit c32dd33a2d
1 changed files with 3 additions and 0 deletions

View File

@ -2127,6 +2127,8 @@ namespace libtorrent
assert(m_write_pos <= int(m_send_buffer[
(m_current_send_buffer + 1) & 1].size()));
// extremely expensive invariant check
/*
if (!t->is_seed())
{
piece_picker& p = t->picker();
@ -2154,6 +2156,7 @@ namespace libtorrent
}
}
}
*/
}
#endif