removed unnecessary invariant check

This commit is contained in:
Arvid Norberg
2008-10-10 05:38:19 +00:00
parent 8499fd2fe2
commit b417a03877

View File

@@ -778,8 +778,6 @@ namespace libtorrent
// and if it can correspond to a request generated by libtorrent.
bool peer_connection::verify_piece(const peer_request& p) const
{
INVARIANT_CHECK;
boost::shared_ptr<torrent> t = m_torrent.lock();
TORRENT_ASSERT(t);