Skip to content

Commit ab52bea

Browse files
erase_iter.pass.cpp
1 parent dda93ff commit ab52bea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/include/__tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,7 +1253,7 @@ public:
12531253
return __lower_bound(__v, __root(), __end_node());
12541254
}
12551255
template <class _Key>
1256-
_LIBCPP_HIDE_FROM_ABI iterator __lower_bound(const _Key& __v, __node_pointer __root, __end_node_pointer __result);
1256+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 iterator __lower_bound(const _Key& __v, __node_pointer __root, __end_node_pointer __result);
12571257
template <class _Key>
12581258
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 const_iterator lower_bound(const _Key& __v) const {
12591259
return __lower_bound(__v, __root(), __end_node());
@@ -2275,7 +2275,7 @@ __tree<_Tp, _Compare, _Allocator>::__count_multi(const _Key& __k) const {
22752275
template <class _Tp, class _Compare, class _Allocator>
22762276
template <class _Key>
22772277
typename __tree<_Tp, _Compare, _Allocator>::iterator
2278-
__tree<_Tp, _Compare, _Allocator>::__lower_bound(const _Key& __v, __node_pointer __root, __end_node_pointer __result) {
2278+
_LIBCPP_CONSTEXPR_SINCE_CXX26 __tree<_Tp, _Compare, _Allocator>::__lower_bound(const _Key& __v, __node_pointer __root, __end_node_pointer __result) {
22792279
while (__root != nullptr) {
22802280
if (!value_comp()(__root->__value_, __v)) {
22812281
__result = static_cast<__end_node_pointer>(__root);

0 commit comments

Comments
 (0)