mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
NSKVOSupport: Fix new objects not being added to NSKeyValueChangeNew set on set mutation
This commit is contained in:
parent
4072792439
commit
d2a50254d0
1 changed files with 1 additions and 1 deletions
|
@ -1079,7 +1079,7 @@ static const NSString *_NSKeyValueChangeOldSetValue
|
|||
// NOT in oldValues
|
||||
NSSet *newValue =
|
||||
[objects objectsPassingTest:^BOOL(id obj, BOOL *stop) {
|
||||
return [objects member:obj] ? NO : YES;
|
||||
return [oldValues member:obj] ? NO : YES;
|
||||
}];
|
||||
|
||||
change[NSKeyValueChangeNewKey] = newValue;
|
||||
|
|
Loading…
Reference in a new issue