Skip to content

Commit b5577a6

Browse files
move_alloc.pass.cpp constexpr fixed, other remains
1 parent eb3c0f8 commit b5577a6

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
@@ -1154,14 +1154,14 @@ public:
11541154
}
11551155

11561156
template <class _ValueT = _Tp, __enable_if_t<__is_tree_value_type<_ValueT>::value, int> = 0>
1157-
_LIBCPP_HIDE_FROM_ABI void
1157+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void
11581158
__insert_unique_from_orphaned_node(const_iterator __p, __get_node_value_type_t<_Tp>&& __value) {
11591159
using __key_type = typename _NodeTypes::key_type;
11601160
__emplace_hint_unique(__p, const_cast<__key_type&&>(__value.first), std::move(__value.second));
11611161
}
11621162

11631163
template <class _ValueT = _Tp, __enable_if_t<!__is_tree_value_type<_ValueT>::value, int> = 0>
1164-
_LIBCPP_HIDE_FROM_ABI void __insert_unique_from_orphaned_node(const_iterator __p, _Tp&& __value) {
1164+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void __insert_unique_from_orphaned_node(const_iterator __p, _Tp&& __value) {
11651165
__emplace_hint_unique(__p, std::move(__value));
11661166
}
11671167

0 commit comments

Comments
 (0)