mirror of
https://github.com/nlohmann/json.git
synced 2025-01-18 23:35:13 +08:00
🏁 fixing a min() call for MSVC #762
This commit is contained in:
parent
1df836ce40
commit
8be303d4fb
@ -3580,7 +3580,7 @@ class primitive_iterator_t
|
||||
static constexpr difference_type end_value = begin_value + 1;
|
||||
|
||||
/// iterator as signed integer type
|
||||
difference_type m_it = std::numeric_limits<std::ptrdiff_t>::min();
|
||||
difference_type m_it = (std::numeric_limits<std::ptrdiff_t>::min)();
|
||||
};
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user