summaryrefslogtreecommitdiff
path: root/boost/pool/pool.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/pool/pool.hpp')
-rw-r--r--boost/pool/pool.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/pool/pool.hpp b/boost/pool/pool.hpp
index 8fb1878c69..fe69c4fae7 100644
--- a/boost/pool/pool.hpp
+++ b/boost/pool/pool.hpp
@@ -358,7 +358,7 @@ class pool: protected simple_segregated_storage < typename UserAllocator::size_t
size_type max_chunks() const
{ //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool.
size_type partition_size = alloc_size();
- size_type POD_size = math::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type);
+ size_type POD_size = integer::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type);
size_type max_chunks = (std::numeric_limits<size_type>::max() - POD_size) / alloc_size();
return max_chunks;