removed asserts that are can no longer be maintained with the async io

This commit is contained in:
Arvid Norberg 2007-06-13 18:09:52 +00:00
parent 97099dc0ca
commit bbaa2efcb0
2 changed files with 0 additions and 3 deletions

View File

@ -456,13 +456,11 @@ namespace libtorrent
alert_manager& alerts() const;
piece_picker& picker()
{
assert(!is_seed());
assert(m_picker.get());
return *m_picker;
}
bool has_picker() const
{
assert((m_storage && !is_seed()) == bool(m_picker.get() != 0));
return m_picker.get() != 0;
}
policy& get_policy()

View File

@ -2771,7 +2771,6 @@ namespace libtorrent
}
else if (st.total_wanted_done == st.total_wanted)
{
assert(st.total_done != m_torrent_file.total_size());
st.state = torrent_status::finished;
}
else