[libcxx-commits] [libcxx] 7b18571 - Removed redundant template in '__delete_node()' member function of '__forward_list_base' and '__list_imp' classes. (#84323)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 23 05:24:05 PDT 2024
Author: 2LoS
Date: 2024-05-23T14:24:01+02:00
New Revision: 7b185719a8bed373b83b92db73eaf8b84af8da72
URL: https://github.com/llvm/llvm-project/commit/7b185719a8bed373b83b92db73eaf8b84af8da72
DIFF: https://github.com/llvm/llvm-project/commit/7b185719a8bed373b83b92db73eaf8b84af8da72.diff
LOG: Removed redundant template in '__delete_node()' member function of '__forward_list_base' and '__list_imp' classes. (#84323)
Added:
Modified:
libcxx/include/forward_list
libcxx/include/list
Removed:
################################################################################
diff --git a/libcxx/include/forward_list b/libcxx/include/forward_list
index 5a7521eed4104..80dd49fe3d75a 100644
--- a/libcxx/include/forward_list
+++ b/libcxx/include/forward_list
@@ -554,7 +554,6 @@ protected:
return __guard.__release_ptr();
}
- template <class... _Args>
_LIBCPP_HIDE_FROM_ABI void __delete_node(__node_pointer __node) {
// For the same reason as above, we use the allocator's destroy() method for the value_type,
// but not for the node itself.
diff --git a/libcxx/include/list b/libcxx/include/list
index 90bddcc29db09..610a24e384600 100644
--- a/libcxx/include/list
+++ b/libcxx/include/list
@@ -567,7 +567,6 @@ protected:
return __guard.__release_ptr();
}
- template <class... _Args>
_LIBCPP_HIDE_FROM_ABI void __delete_node(__node_pointer __node) {
// For the same reason as above, we use the allocator's destroy() method for the value_type,
// but not for the node itself.
More information about the libcxx-commits
mailing list