Skip to content

Commit f829a9f

Browse files
=default;
1 parent 55bf409 commit f829a9f

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
@@ -623,8 +623,8 @@ public:
623623
/*
624624
note: non-literal type 'std::__tree_node<std::__value_type<int, int>, void *>' cannot be used in a constant expression
625625
*/
626-
#if _LIBCPP_CONSTEXPR_SINCE_CXX26
627-
~__tree_node() {}
626+
#if _LIBCPP_STD_VER >= 26
627+
~__tree_node() = default;
628628
#else
629629
~__tree_node() = delete;
630630
#endif

0 commit comments

Comments
 (0)