Merge branch 'master' of github.com:gnustep/libs-base into UnitsOfMeasure

This commit is contained in:
Gregory John Casamento 2019-10-19 06:42:07 -04:00
commit 679965e402
4 changed files with 22 additions and 5 deletions

View file

@ -1350,7 +1350,14 @@ compareIt(id o1, id o2, void* context)
- (void) setObject: (id)anObject forKeyedSubscript: (id)aKey
{
[self setObject: anObject forKey: aKey];
if (anObject == nil)
{
[self removeObjectForKey: aKey];
}
else
{
[self setObject: anObject forKey: aKey];
}
}
/**