Skip to content

Commit

Permalink
silence friend warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniefalco authored and grisumbras committed May 27, 2022
1 parent 002feeb commit 4797be3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/boost/json/object.hpp
Expand Up @@ -1483,12 +1483,15 @@ class object
}

private:
#ifndef BOOST_JSON_DOCS
// VFALCO friending a detail function makes it public
template<class CharRange>
friend
std::pair<key_value_pair*, std::size_t>
detail::find_in_object(
object const& obj,
CharRange key) noexcept;
#endif

template<class InputIt>
void
Expand Down

0 comments on commit 4797be3

Please sign in to comment.