Skip to content

Commit

Permalink
🏁 fixing a min() call for MSVC #762
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Oct 2, 2017
1 parent 1df836c commit 8be303d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)();
};

/*!
Expand Down

0 comments on commit 8be303d

Please sign in to comment.