Skip to content

Commit 990228b

Browse files
Revert "PR review comment"
This reverts commit 4fbb472. Fails with: ``` # .---command stderr------------ # | t.tmp.exe: /home/runner/_work/llvm-project/llvm-project/libcxx/test/support/container_test_types.h:399: CopyInsertable<1>::CopyInsertable(const CopyInsertable<Dummy> &) [Dummy = 1]: Assertion `getConstructController()->isInAllocatorConstruct()' failed. # `----------------------------- # error: command failed with exit status: 250 ```
1 parent b3e9926 commit 990228b

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
@@ -1891,7 +1891,7 @@ __tree<_Tp, _Compare, _Allocator>::__construct_node(_Args&&... __args) {
18911891
} else
18921892
#endif
18931893
{
1894-
std::__construct_at(std::addressof(__h->__value_), std::forward<_Args>(__args)...);
1894+
__node_traits::construct(__na, std::addressof(__h->__value_), std::forward<_Args>(__args)...);
18951895
}
18961896

18971897
__h.get_deleter().__value_constructed = true;

0 commit comments

Comments
 (0)