summaryrefslogtreecommitdiff
path: root/textproc/aspell/patches/patch-am
blob: cf822de8e305012e885df2be38afe71a0eaf95fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-am,v 1.1 2005/10/27 01:08:06 rillig Exp $

To understand recursion, you first have to understand recursion.

--- prog/aspell.cpp.orig	2005-06-19 13:58:59.000000000 +0200
+++ prog/aspell.cpp	2005-10-27 02:53:09.018812500 +0200
@@ -1878,7 +1878,7 @@ struct SML_Parms {
   typedef SML_WordEntry Value;
   typedef const char * Key;
   static const bool is_multi = false;
-  hash<const char *> hash;
+  acommon::hash<const char *> hash;
   bool equal(Key x, Key y) {return strcmp(x,y) == 0;}
   Key key(const Value & v) {return v.word;}
 };
@@ -2029,7 +2029,7 @@ struct CML_Parms {
   typedef CML_Entry Value;
   typedef const char * Key;
   static const bool is_multi = true;
-  hash<const char *> hash;
+  acommon::hash<const char *> hash;
   bool equal(Key x, Key y) {return strcmp(x,y) == 0;}
   Key key(const Value & v) {return v.word;}
 };