mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-27 17:22:14 +00:00
replace std::min with (std::min) in order to avoid problems with compilers which use min macros
This commit is contained in:
@@ -153,7 +153,7 @@ void transform_width<Base, BitsOut, BitsIn, CharType>::fill() {
|
||||
|
||||
// append these bits to the next output
|
||||
// up to the size of the output
|
||||
unsigned int i = std::min(missing_bits, m_remaining_bits);
|
||||
unsigned int i = (std::min)(missing_bits, m_remaining_bits);
|
||||
// shift interesting bits to least significant position
|
||||
base_value_type j = m_buffer_in >> (m_remaining_bits - i);
|
||||
// and mask off the un interesting higher bits
|
||||
|
||||
Reference in New Issue
Block a user