File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1027,15 +1027,9 @@ public:
1027
1027
__insert_unique_from_orphaned_node (const_iterator __p, __get_node_value_type_t <_Tp>&& __value) {
1028
1028
// fails here for move_alloc.pass.cpp
1029
1029
if (__libcpp_is_constant_evaluated ()) {
1030
- __node_allocator& __na = __value.__node_alloc ();
1031
- // __node_traits::destroy(__na, std::addressof(__lhs));
1032
- // __node_traits::construct(__na, std::addressof(__lhs), std::move(__tmp));
1030
+ __node_allocator& __na = __node_alloc ();
1033
1031
key_type __kk;
1034
- // new (std::addressof(__kk))(key_type)(__value.first);
1035
- // todo: this is wrong
1036
1032
__node_traits::construct (__na, std::addressof (__kk), std::move (__value.first ));
1037
- // __node_holder __h = __construct_node(std::forward<_Args>(__args)...);?
1038
- // __node_holder __h = __construct_node(__value);?
1039
1033
__emplace_hint_unique (__p, std::move (__kk), std::move (__value.second ));
1040
1034
} else
1041
1035
{
You can’t perform that action at this time.
0 commit comments