mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 13:32:28 +02: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;
|
static constexpr difference_type end_value = begin_value + 1;
|
||||||
|
|
||||||
/// iterator as signed integer type
|
/// 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 a new issue