File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
test/std/containers/associative/map/map.cons Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 _NodePtr __tree_prev_
209209
210210// Returns: pointer to a node which has no children
211211template <class _NodePtr >
212- _LIBCPP_HIDE_FROM_ABI _NodePtr __tree_leaf (_NodePtr __x) _NOEXCEPT {
212+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 _NodePtr __tree_leaf (_NodePtr __x) _NOEXCEPT {
213213 _LIBCPP_ASSERT_INTERNAL (__x != nullptr , " node shouldn't be null" );
214214 while (true ) {
215215 if (__x->__left_ != nullptr ) {
Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ TEST_CONSTEXPR_CXX26 bool duplicate_keys_test() {
6767
6868TEST_CONSTEXPR_CXX26 bool test () {
6969 test_basic ();
70- // duplicate_keys_test();
70+ duplicate_keys_test ();
7171 return true ;
7272}
7373
7474int main (int , char **) {
75- // assert(test());
75+ assert (test ());
7676#if TEST_STD_VER >= 26
7777 static_assert (test ());
7878#endif
You can’t perform that action at this time.
0 commit comments