🏁 fixing a min() call for MSVC #762

This commit is contained in:
Niels Lohmann 2017-10-02 13:54:14 +02:00
parent 1df836ce40
commit 8be303d4fb
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -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)();
};
/*!