diff --git a/include/boost/container/flat_set.hpp b/include/boost/container/flat_set.hpp index 080beb5..4d4ae47 100644 --- a/include/boost/container/flat_set.hpp +++ b/include/boost/container/flat_set.hpp @@ -1031,7 +1031,7 @@ class flat_set //! Complexity: Logarithmic template std::pair equal_range(const K& x) - { return this->tree_t::lower_bound_range(x); } + { return this->tree_t::equal_range(x); } //! Requires: This overload is available only if //! key_compare::is_transparent exists. @@ -1041,7 +1041,7 @@ class flat_set //! Complexity: Logarithmic template std::pair equal_range(const K& x) const - { return this->tree_t::lower_bound_range(x); } + { return this->tree_t::equal_range(x); } #if defined(BOOST_CONTAINER_DOXYGEN_INVOKED)