merged removing assert from RC_0_16

This commit is contained in:
Arvid Norberg 2013-09-25 07:31:04 +00:00
parent 97c69cb041
commit 7ce6425534
1 changed files with 0 additions and 1 deletions

View File

@ -100,7 +100,6 @@ namespace libtorrent
char* page_aligned_allocator::malloc(size_type bytes) char* page_aligned_allocator::malloc(size_type bytes)
{ {
TORRENT_ASSERT(bytes >= page_size()); TORRENT_ASSERT(bytes >= page_size());
TORRENT_ASSERT(bytes % page_size() == 0);
#ifdef TORRENT_DEBUG_BUFFERS #ifdef TORRENT_DEBUG_BUFFERS
int page = page_size(); int page = page_size();
int num_pages = (bytes + (page-1)) / page + 2; int num_pages = (bytes + (page-1)) / page + 2;