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
This commit is contained in:
richard 1998-10-25 19:20:49 +00:00
parent a92247edf8
commit 95a8d9f0c2

View file

@ -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"