lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v192 14 lines 768 B view raw
1diff -up ./boost/pool/pool.hpp~ ./boost/pool/pool.hpp 2--- a/boost/pool/pool.hpp~ 2013-08-21 17:49:56.023296922 +0200 3+++ b/boost/pool/pool.hpp 2013-08-22 11:38:01.133912638 +0200 4@@ -361,9 +361,7 @@ class pool: protected simple_segregated_ 5 { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool. 6 size_type partition_size = alloc_size(); 7 size_type POD_size = math::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type); 8- size_type max_chunks = (std::numeric_limits<size_type>::max() - POD_size) / alloc_size(); 9- 10- return max_chunks; 11+ return (std::numeric_limits<size_type>::max() - POD_size) / alloc_size(); 12 } 13 14 static void * & nextof(void * const ptr)