diff options
Diffstat (limited to 'boost/intrusive/treap_set.hpp')
-rw-r--r-- | boost/intrusive/treap_set.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/intrusive/treap_set.hpp b/boost/intrusive/treap_set.hpp index 188c80fdce..60cf449147 100644 --- a/boost/intrusive/treap_set.hpp +++ b/boost/intrusive/treap_set.hpp @@ -375,7 +375,7 @@ class treap_set_impl //! @copydoc ::boost::intrusive::rbtree::equal_range(const KeyType&,KeyTypeKeyCompare) template<class KeyType, class KeyTypeKeyCompare> std::pair<iterator,iterator> equal_range(const KeyType& key, KeyTypeKeyCompare comp) - { return this->tree_type::lower_bound_range(key, comp); } + { return this->tree_type::equal_range(key, comp); } //! @copydoc ::boost::intrusive::rbtree::equal_range(const key_type &)const std::pair<const_iterator, const_iterator> @@ -386,7 +386,7 @@ class treap_set_impl template<class KeyType, class KeyTypeKeyCompare> std::pair<const_iterator, const_iterator> equal_range(const KeyType& key, KeyTypeKeyCompare comp) const - { return this->tree_type::lower_bound_range(key, comp); } + { return this->tree_type::equal_range(key, comp); } #ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED |