merged disk buffer pool change from RC_0_16
This commit is contained in:
@@ -38,10 +38,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "libtorrent/session_settings.hpp"
|
||||
#include "libtorrent/allocator.hpp"
|
||||
|
||||
#ifndef TORRENT_DISABLE_POOL_ALLOCATOR
|
||||
#include <boost/pool/pool.hpp>
|
||||
#endif
|
||||
|
||||
#ifdef TORRENT_DISK_STATS
|
||||
#include <fstream>
|
||||
#endif
|
||||
@@ -101,12 +97,6 @@ namespace libtorrent
|
||||
|
||||
mutable mutex m_pool_mutex;
|
||||
|
||||
#ifndef TORRENT_DISABLE_POOL_ALLOCATOR
|
||||
// memory pool for read and write operations
|
||||
// and disk cache
|
||||
boost::pool<page_aligned_allocator> m_pool;
|
||||
#endif
|
||||
|
||||
#if defined TORRENT_DISK_STATS || defined TORRENT_STATS
|
||||
int m_allocations;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user