Skip to content

Commit b3e9926

Browse files
include __memory/construct_at
1 parent 4fbb472 commit b3e9926

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libcxx/include/__tree

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include <__memory/addressof.h>
2121
#include <__memory/allocator_traits.h>
2222
#include <__memory/compressed_pair.h>
23+
#include <__memory/construct_at.h>
2324
#include <__memory/pointer_traits.h>
2425
#include <__memory/swap_allocator.h>
2526
#include <__memory/unique_ptr.h>
@@ -1892,10 +1893,6 @@ __tree<_Tp, _Compare, _Allocator>::__construct_node(_Args&&... __args) {
18921893
{
18931894
std::__construct_at(std::addressof(__h->__value_), std::forward<_Args>(__args)...);
18941895
}
1895-
#if _LIBCPP_STD_VER >= 26
1896-
1897-
#endif
1898-
18991896

19001897
__h.get_deleter().__value_constructed = true;
19011898
return __h;

0 commit comments

Comments
 (0)