diff --git a/include/boost/core/allocator_access.hpp b/include/boost/core/allocator_access.hpp index 37c2b7a..edf749d 100644 --- a/include/boost/core/allocator_access.hpp +++ b/include/boost/core/allocator_access.hpp @@ -551,7 +551,7 @@ allocator_destroy(A&, T* p) #if defined(BOOST_NO_CXX11_ALLOCATOR) template inline typename allocator_size_type::type -allocator_max_size(const A& a) +allocator_max_size(const A& a) BOOST_NOEXCEPT { return a.max_size(); } @@ -576,7 +576,7 @@ public: template inline typename std::enable_if::value, typename allocator_size_type::type>::type -allocator_max_size(const A& a) +allocator_max_size(const A& a) BOOST_NOEXCEPT { return a.max_size(); } @@ -584,7 +584,7 @@ allocator_max_size(const A& a) template inline typename std::enable_if::value, typename allocator_size_type::type>::type -allocator_max_size(const A&) +allocator_max_size(const A&) BOOST_NOEXCEPT { return (std::numeric_limits::type>::max)() / sizeof(typename A::value_type);