Boost library min/max guidance:

fix #170
This commit is contained in:
Vinnie Falco
2016-11-12 11:27:56 -05:00
parent 02feea5128
commit 84a6775dc1
13 changed files with 21 additions and 19 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ public:
size_type
max_size() const
{
return std::numeric_limits<std::size_t>::max();
return (std::numeric_limits<std::size_t>::max)();
}
/// Returns the maximum sum of the sizes of the input sequence and output sequence the buffer can hold without requiring reallocation.