mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
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:
parent
f897a58a81
commit
16e6526498
2 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue