From 95a8d9f0c2359a0eebe09e79fd2b84944656c61c Mon Sep 17 00:00:00 2001 From: richard Date: Sun, 25 Oct 1998 19:20:49 +0000 Subject: [PATCH] Use copyWithZone: rather than retain to put keys into dictionary. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3113 72102866-910b-0410-8b05-ffd578937521 --- Source/NSGDictionary.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/NSGDictionary.m b/Source/NSGDictionary.m index 819b3389d..f8332302e 100644 --- a/Source/NSGDictionary.m +++ b/Source/NSGDictionary.m @@ -96,6 +96,7 @@ myEqual(NSObject *self, NSObject *other) */ #define FAST_MAP_HASH(X) myHash(X.o) #define FAST_MAP_EQUAL(X,Y) myEqual(X.o,Y.o) +#define FAST_MAP_RETAIN_KEY(X) [(X).o copyWithZone: map->zone] #include "FastMap.x"