forked from premiere/premiere-libtorrent
release asserts fix
This commit is contained in:
parent
60f501ca5d
commit
24746bf54f
|
@ -158,7 +158,7 @@ void traversal_algorithm::add_entry(node_id const& id, udp::endpoint addr, unsig
|
||||||
|
|
||||||
if (m_results.size() > 100)
|
if (m_results.size() > 100)
|
||||||
{
|
{
|
||||||
#ifdef TORRENT_DEBUG
|
#if defined TORRENT_DEBUG || TORRENT_RELEASE_ASSERTS
|
||||||
for (int i = 100; i < m_results.size(); ++i)
|
for (int i = 100; i < m_results.size(); ++i)
|
||||||
m_results[i]->m_was_abandoned = true;
|
m_results[i]->m_was_abandoned = true;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue