From b5d983f7b659dd33b3b75d739f3bbff880e243b6 Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Wed, 6 Apr 2022 05:43:56 +0200 Subject: [PATCH] fixup! Allow comparing different json_pointers --- include/nlohmann/detail/json_pointer.hpp | 4 ++-- single_include/nlohmann/json.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp index fd1f4a8aa2..d0098af69f 100644 --- a/include/nlohmann/detail/json_pointer.hpp +++ b/include/nlohmann/detail/json_pointer.hpp @@ -843,8 +843,8 @@ class json_pointer */ template // NOLINTNEXTLINE(readability-redundant-declaration) - friend inline bool operator==(json_pointer const& lhs, - json_pointer const& rhs) noexcept; + friend bool operator==(json_pointer const& lhs, + json_pointer const& rhs) noexcept; /*! @brief compares two JSON pointers for inequality diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index cda8a58033..0ccab1c1b1 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -13293,8 +13293,8 @@ class json_pointer */ template // NOLINTNEXTLINE(readability-redundant-declaration) - friend inline bool operator==(json_pointer const& lhs, - json_pointer const& rhs) noexcept; + friend bool operator==(json_pointer const& lhs, + json_pointer const& rhs) noexcept; /*! @brief compares two JSON pointers for inequality