mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-02 12:51:07 +00:00
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:
parent
a92247edf8
commit
95a8d9f0c2
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue