mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +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
|
@ -1,3 +1,9 @@
|
|||
2007-12-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSKeyValueObserving.m
|
||||
(-setKeys:triggerChangeNotificationsForDependentKey:): Correct the
|
||||
key strategy of the map.
|
||||
|
||||
2007-12-17 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/Makefile.postamble: Use DESTDIR over obsolete INSTALL_ROOT_DIR
|
||||
|
|
|
@ -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