summaryrefslogtreecommitdiff
path: root/games/enigma/patches/patch-am
blob: 1043c45b70b107964aaaa33ee02d3031e21eee2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-am,v 1.3 2005/08/22 15:35:37 adam Exp $

--- src/px/dict.hh.orig	2004-12-08 10:17:10.000000000 +0000
+++ src/px/dict.hh
@@ -131,7 +131,8 @@ namespace px
 	
 	const T& lookup(const key_type &key) const {
 	    Entry *e = find_entry(key);
-	    if (!e) throw XInvalidKey();
+// rational: see above + XInvalidKey is not declared anywhere
+//	    if (!e) throw XInvalidKey();
 	    return e->pair.second;
 	}