This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 14958e30fe Remove unused `alloc` parameter in swoc/Vectray
functionality (#11475)
14958e30fe is described below
commit 14958e30fe60fe59f5f473589ff1cddb10707a93
Author: Pavel Vazharov <[email protected]>
AuthorDate: Tue Jun 25 18:19:07 2024 +0300
Remove unused `alloc` parameter in swoc/Vectray functionality (#11475)
---
lib/swoc/include/swoc/Vectray.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/swoc/include/swoc/Vectray.h b/lib/swoc/include/swoc/Vectray.h
index e2e648560b..eb53705ebd 100644
--- a/lib/swoc/include/swoc/Vectray.h
+++ b/lib/swoc/include/swoc/Vectray.h
@@ -232,7 +232,7 @@ protected:
template <typename T, size_t N, typename A> Vectray<T, N, A>::Vectray() {}
-template <typename T, size_t N, class A> Vectray<T, N,
A>::Vectray(Vectray::size_type n, allocator_type const &alloc) : Vectray() {
+template <typename T, size_t N, class A> Vectray<T, N,
A>::Vectray(Vectray::size_type n, allocator_type const &) : Vectray() {
this->reserve(n);
while (n-- > 0) {
this->emplace_back();