fixed assert when built with disk stats

This commit is contained in:
Arvid Norberg
2009-08-05 19:02:51 +00:00
parent 5e2254df97
commit 7933132cd9
3 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ namespace libtorrent
}
#endif
#ifdef TORRENT_DEBUG
#if defined TORRENT_DEBUG || defined TORRENT_DISK_STATS
bool disk_buffer_pool::is_disk_buffer(char* buffer
,boost::mutex::scoped_lock& l) const
{