From 43e50e732ca38b743204fa1141769f570a88a4ba Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 27 May 2022 09:59:45 -0700 Subject: [PATCH] silence friend warning --- include/boost/json/object.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/json/object.hpp b/include/boost/json/object.hpp index 75d369614..6ac3ed8fb 100644 --- a/include/boost/json/object.hpp +++ b/include/boost/json/object.hpp @@ -1483,12 +1483,15 @@ class object } private: +#ifndef BOOST_JSON_DOCS + // VFALCO friending a detail function makes it public template friend std::pair detail::find_in_object( object const& obj, CharRange key) noexcept; +#endif template void