mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
Fix MSVC build error
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
* Fix MSVC build error.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Version 310:
|
||||
|
||||
* Update Release Notes.
|
||||
|
@@ -916,7 +916,7 @@ prepare(size_type n) ->
|
||||
std::size_t altn = in_size_ * growth_factor;
|
||||
// Overflow detection:
|
||||
if(in_size_ > altn)
|
||||
altn = std::numeric_limits<std::size_t>::max();
|
||||
altn = (std::numeric_limits<std::size_t>::max)();
|
||||
else
|
||||
altn = (std::max<std::size_t>)(512, altn);
|
||||
auto const size =
|
||||
|
Reference in New Issue
Block a user