diff --git a/src/json.hpp b/src/json.hpp index 9a04a62b..efd76da7 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -14492,7 +14492,8 @@ struct hash /// specialization for std::less template<> -struct less +struct less< ::nlohmann::detail::value_t> // do not remove the space after '<', + // see https://github.com/nlohmann/json/pull/679 { /*! @brief compare two value_t enum values