mirror of
https://github.com/boostorg/circular_buffer.git
synced 2026-01-28 07:02:14 +00:00
MSVC 2005 specific fix for std::num_limits<>::max function
[SVN r3531]
This commit is contained in:
@@ -679,7 +679,7 @@ public:
|
||||
\sa <code>size()</code>, <code>capacity()</code>
|
||||
*/
|
||||
size_type max_size() const {
|
||||
return std::min<size_type>(m_alloc.max_size(), std::numeric_limits<difference_type>::max());
|
||||
return std::min<size_type>(m_alloc.max_size(), (std::numeric_limits<difference_type>::max)());
|
||||
}
|
||||
|
||||
//! Is the <code>circular_buffer</code> empty?
|
||||
|
||||
Reference in New Issue
Block a user