$OpenBSD: patch-src_utils_queue_buckets_h,v 1.1 2019/04/28 02:01:30 cwen Exp $
proper typing, from FreeBSD

Index: src/utils/queue_buckets.h
--- src/utils/queue_buckets.h.orig
+++ src/utils/queue_buckets.h
@@ -251,7 +251,7 @@ queue_buckets<Type, Constants>::destroy(int idx, itera
   instrumentation_update(constants::instrumentation_total[idx], -difference);
 
   // Consider moving these to a temporary dequeue before releasing:
-  std::for_each(begin, end, std::function<void (value_type)>(&constants::template destroy<value_type>));
+  std::for_each(begin, end, std::function<void (value_type&)>(&constants::template destroy<value_type>));
   queue_at(idx).erase(begin, end);
 }
 
