Skip to content

Commit dda93ff

Browse files
copy_assign.pass.cpp constexpr fixed, other remains
1 parent b5577a6 commit dda93ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ private:
13451345
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void __move_assign_alloc(__tree&, false_type) _NOEXCEPT {}
13461346

13471347
template <class _From, class _ValueT = _Tp, __enable_if_t<__is_tree_value_type<_ValueT>::value, int> = 0>
1348-
_LIBCPP_HIDE_FROM_ABI static void __assign_value(__get_node_value_type_t<value_type>& __lhs, _From&& __rhs) {
1348+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 static void __assign_value(__get_node_value_type_t<value_type>& __lhs, _From&& __rhs) {
13491349
using __key_type = typename _NodeTypes::key_type;
13501350

13511351
// This is technically UB, since the object was constructed as `const`.

0 commit comments

Comments
 (0)