diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp index ac4cea5f..e77ad5d2 100644 --- a/include/nlohmann/detail/conversions/from_json.hpp +++ b/include/nlohmann/detail/conversions/from_json.hpp @@ -278,10 +278,10 @@ void from_json(const BasicJsonType& j, std::tuple& t) from_json_tuple_impl(j, t, index_sequence_for {}); } -template ::value>> -void from_json(const BasicJsonType& j, std::map& m) +void from_json(const BasicJsonType& j, std::map& m) { if (JSON_UNLIKELY(not j.is_array())) {