From 4bf03fd8e7d6350778bd669efd39f5fa70597b69 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 3 Nov 2021 22:27:41 +0100 Subject: [PATCH] :rotating_light: suppress cert-dcl58-cpp --- include/nlohmann/json.hpp | 2 +- single_include/nlohmann/json.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index 5ca0ebfe0..bcbea349a 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -4707,7 +4707,7 @@ std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j) // nonmember support // /////////////////////// -namespace std +namespace std // NOLINT(cert-dcl58-cpp) { /// hash value for JSON objects diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 3d845c924..21727c2e4 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -22208,7 +22208,7 @@ std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j) // nonmember support // /////////////////////// -namespace std +namespace std // NOLINT(cert-dcl58-cpp) { /// hash value for JSON objects @@ -22249,7 +22249,7 @@ struct less< ::nlohmann::detail::value_t> /*! @brief exchanges the values of two JSON objects -@since version 1.0.0 +@since version 1.0.0, extended for arbitrary basic_json types in 3.10.5. */ NLOHMANN_BASIC_JSON_TPL_DECLARATION inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( // NOLINT(readability-inconsistent-declaration-parameter-name)