summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-ao
blob: ac653a39d7db65240f5d2e5a98d3953253a64e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ao,v 1.4 2006/08/10 13:44:22 abs Exp $

--- util/RefHash3KeysIdPool.c.orig	2005-09-07 16:55:51.000000000 +0100
+++ util/RefHash3KeysIdPool.c
@@ -97,6 +97,9 @@ RefHash3KeysIdPool<TVal>::RefHash3KeysId
         fIdPtrsCount = 256;
     fIdPtrs = (TVal**) fMemoryManager->allocate(fIdPtrsCount * sizeof(TVal*)); //new TVal*[fIdPtrsCount];
     fIdPtrs[0] = 0;
+
+    // create default hasher
+    fHash = new (fMemoryManager) HashXMLCh();
 }
 
 template <class TVal>