added more asserts in session_impl::check_invariant

This commit is contained in:
Arvid Norberg 2007-11-27 02:46:19 +00:00
parent 8fc9f9e842
commit 77cea2eafc
1 changed files with 5 additions and 0 deletions

View File

@ -2419,6 +2419,11 @@ namespace detail
{
TORRENT_ASSERT(false);
}
for (std::map<sha1_hash, boost::shared_ptr<torrent> >::const_iterator j
= m_torrents.begin(); j != m_torrents.end(); ++j)
{
TORRENT_ASSERT(boost::get_pointer(j->second));
}
}
#endif