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:
10271027 __insert_unique_from_orphaned_node (const_iterator __p, __get_node_value_type_t <_Tp>&& __value) {
10281028 // fails here for move_alloc.pass.cpp
10291029 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 ();
10331031 key_type __kk;
1034- // new (std::addressof(__kk))(key_type)(__value.first);
1035- // todo: this is wrong
10361032 __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);?
10391033 __emplace_hint_unique (__p, std::move (__kk), std::move (__value.second ));
10401034 } else
10411035 {
You can’t perform that action at this time.
0 commit comments