You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by cm...@apache.org on 2024/06/27 20:01:17 UTC
(trafficserver) 05/14: Remove unused `alloc` parameter in swoc/Vectray functionality (#11475)
This is an automated email from the ASF dual-hosted git repository.
cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 7c4d527d0d1addb7e941debba24eedff7d3b5026
Author: Pavel Vazharov <pa...@x3me.net>
AuthorDate: Tue Jun 25 18:19:07 2024 +0300
Remove unused `alloc` parameter in swoc/Vectray functionality (#11475)
(cherry picked from commit 14958e30fe60fe59f5f473589ff1cddb10707a93)
---
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();