Correct the key strategy of the map.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25756 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-12-17 21:52:21 +00:00
parent f897a58a81
commit 16e6526498
2 changed files with 7 additions and 1 deletions

View file

@ -1474,7 +1474,7 @@ triggerChangeNotificationsForDependentKey: (NSString*)dependentKey
affectingKeys = NSMapGet(dependentKeyTable, self);
if (!affectingKeys)
{
affectingKeys = NSCreateMapTable(NSNonOwnedPointerMapKeyCallBacks,
affectingKeys = NSCreateMapTable(NSObjectMapKeyCallBacks,
NSNonOwnedPointerMapValueCallBacks, 10);
NSMapInsert(dependentKeyTable, self, affectingKeys);
}