Skip to content

Commit 7b18571

Browse files
author
2LoS
authored
Removed redundant template in '__delete_node()' member function of '__forward_list_base' and '__list_imp' classes. (#84323)
1 parent 63a4133 commit 7b18571

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

libcxx/include/forward_list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ protected:
554554
return __guard.__release_ptr();
555555
}
556556

557-
template <class... _Args>
558557
_LIBCPP_HIDE_FROM_ABI void __delete_node(__node_pointer __node) {
559558
// For the same reason as above, we use the allocator's destroy() method for the value_type,
560559
// but not for the node itself.

libcxx/include/list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,6 @@ protected:
567567
return __guard.__release_ptr();
568568
}
569569

570-
template <class... _Args>
571570
_LIBCPP_HIDE_FROM_ABI void __delete_node(__node_pointer __node) {
572571
// For the same reason as above, we use the allocator's destroy() method for the value_type,
573572
// but not for the node itself.

0 commit comments

Comments
 (0)