fixed typo that made debug code to be called in release mode (caused a compile error)

This commit is contained in:
Arvid Norberg 2006-05-15 21:19:19 +00:00
parent 6f08cf84f0
commit 3cac133e51
1 changed files with 1 additions and 1 deletions

View File

@ -851,7 +851,7 @@ namespace libtorrent { namespace detail
for (std::map<sha1_hash, boost::shared_ptr<torrent> >::iterator i
= m_torrents.begin(); i != m_torrents.end(); ++i)
{
#ifndef DEBUG
#ifndef NDEBUG
i->second->check_invariant();
#endif
i->second->distribute_resources();