View | Details | Raw Unified | Return to bug 208621
Collapse All | Expand All

(-)devel/libhoard/files/patch-src_Heap-Layers_heaps_debug_sanitycheckheap.h (+11 lines)
Line 0 Link Here
1
--- Heap-Layers/heaps/debug/sanitycheckheap.h.orig	2013-10-21 01:01:57.000000000 +0200
2
+++ Heap-Layers/heaps/debug/sanitycheckheap.h	2016-04-07 23:39:09.104819000 +0200
3
@@ -27,7 +27,7 @@ namespace HL {
4
     /// This approach lets us use SanityCheckHeaps when we're replacing malloc.
5
 
6
     // The objects are pairs, mapping void * pointers to sizes.
7
-    typedef std::pair<const void *, size_t> objType;
8
+    typedef std::pair<void * const, size_t> objType;
9
 
10
     // The heap is a simple freelist heap.
11
     typedef HL::FreelistHeap<HL::ZoneHeap<HL::MmapHeap, 16384> > heapType;

Return to bug 208621