forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
9c14019f34
commit
8b286d84a6
|
@ -1098,7 +1098,7 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
assert(m_slot_to_piece[i]<m_piece_to_slot.size());
|
assert(m_slot_to_piece[i]<m_piece_to_slot.size());
|
||||||
assert(m_piece_to_slot[m_slot_to_piece[i]]==i);
|
assert(m_piece_to_slot[m_slot_to_piece[i]]==i);
|
||||||
assert(
|
/* assert(
|
||||||
std::find(
|
std::find(
|
||||||
m_unallocated_slots.begin()
|
m_unallocated_slots.begin()
|
||||||
, m_unallocated_slots.end()
|
, m_unallocated_slots.end()
|
||||||
|
@ -1110,25 +1110,25 @@ namespace libtorrent
|
||||||
, m_free_slots.end()
|
, m_free_slots.end()
|
||||||
, i) == m_free_slots.end()
|
, i) == m_free_slots.end()
|
||||||
);
|
);
|
||||||
}
|
*/ }
|
||||||
else if (m_slot_to_piece[i] == unallocated)
|
else if (m_slot_to_piece[i] == unallocated)
|
||||||
{
|
{
|
||||||
assert(
|
/* assert(
|
||||||
std::find(
|
std::find(
|
||||||
m_unallocated_slots.begin()
|
m_unallocated_slots.begin()
|
||||||
, m_unallocated_slots.end()
|
, m_unallocated_slots.end()
|
||||||
, i) != m_unallocated_slots.end()
|
, i) != m_unallocated_slots.end()
|
||||||
);
|
);
|
||||||
}
|
*/ }
|
||||||
else if (m_slot_to_piece[i] == unassigned)
|
else if (m_slot_to_piece[i] == unassigned)
|
||||||
{
|
{
|
||||||
assert(
|
/* assert(
|
||||||
std::find(
|
std::find(
|
||||||
m_free_slots.begin()
|
m_free_slots.begin()
|
||||||
, m_free_slots.end()
|
, m_free_slots.end()
|
||||||
, i) != m_free_slots.end()
|
, i) != m_free_slots.end()
|
||||||
);
|
);
|
||||||
}
|
*/ }
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert(false && "m_slot_to_piece[i] is invalid");
|
assert(false && "m_slot_to_piece[i] is invalid");
|
||||||
|
|
Loading…
Reference in New Issue