diff --git a/include/nlohmann/detail/conversions/to_json.hpp b/include/nlohmann/detail/conversions/to_json.hpp index d274eadd5..8da1b8eac 100644 --- a/include/nlohmann/detail/conversions/to_json.hpp +++ b/include/nlohmann/detail/conversions/to_json.hpp @@ -297,12 +297,6 @@ void to_json(BasicJsonType& j, const T (&arr)[N]) external_constructor::construct(j, arr); } -template -void to_json(BasicJsonType& j, const std::pair& p) -{ - j = {p.first, p.second}; -} - // for https://github.com/nlohmann/json/pull/1134 template::iteration_proxy_internal>::value, int> = 0>