Skip to content

Commit eb3c0f8

Browse files
move_assign.pass.cpp constexpr fixed
1 parent 687ca5f commit eb3c0f8

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
@@ -1185,14 +1185,14 @@ public:
11851185
}
11861186

11871187
template <class _ValueT = _Tp, __enable_if_t<__is_tree_value_type<_ValueT>::value, int> = 0>
1188-
_LIBCPP_HIDE_FROM_ABI void
1188+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void
11891189
__insert_multi_from_orphaned_node(const_iterator __p, __get_node_value_type_t<_Tp>&& __value) {
11901190
using __key_type = typename _NodeTypes::key_type;
11911191
__emplace_hint_multi(__p, const_cast<__key_type&&>(__value.first), std::move(__value.second));
11921192
}
11931193

11941194
template <class _ValueT = _Tp, __enable_if_t<!__is_tree_value_type<_ValueT>::value, int> = 0>
1195-
_LIBCPP_HIDE_FROM_ABI void __insert_multi_from_orphaned_node(const_iterator __p, _Tp&& __value) {
1195+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void __insert_multi_from_orphaned_node(const_iterator __p, _Tp&& __value) {
11961196
__emplace_hint_multi(__p, std::move(__value));
11971197
}
11981198

0 commit comments

Comments
 (0)