opnsense-ports/devel/libhoard/files/patch-src_Heap-Layers_heaps_debug_sanitycheckheap.h
Franco Fichtner 181c503093 */*: sync with upstream
Taken from: FreeBSD
2016-04-30 18:37:21 +02:00

11 lines
580 B
C++

--- Heap-Layers/heaps/debug/sanitycheckheap.h.orig 2013-10-21 01:01:57.000000000 +0200
+++ Heap-Layers/heaps/debug/sanitycheckheap.h 2016-04-07 23:39:09.104819000 +0200
@@ -27,7 +27,7 @@ namespace HL {
/// This approach lets us use SanityCheckHeaps when we're replacing malloc.
// The objects are pairs, mapping void * pointers to sizes.
- typedef std::pair<const void *, size_t> objType;
+ typedef std::pair<void * const, size_t> objType;
// The heap is a simple freelist heap.
typedef HL::FreelistHeap<HL::ZoneHeap<HL::MmapHeap, 16384> > heapType;