debug define fix in piece_picker

This commit is contained in:
Arvid Norberg 2009-04-04 21:50:36 +00:00
parent 2b671bc820
commit 40c6db3c52
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ namespace libtorrent
void verify_pick(std::vector<piece_block> const& picked
, bitfield const& bits) const;
#endif
#if defined TORRENT_PICKER_LOG || defined TORRENT_DEBUG
#if defined TORRENT_PICKER_LOG
void print_pieces() const;
#endif

View File

@ -227,7 +227,7 @@ namespace libtorrent
}
}
#if defined TORRENT_PICKER_LOG || defined TORRENT_DEBUG
#if defined TORRENT_PICKER_LOG
void piece_picker::print_pieces() const
{
for (std::vector<int>::const_iterator i = m_priority_boundries.begin()