mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 14:12:26 +00:00
Improve dictionary lookup for strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3003 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4337b9ca9
commit
1601128ae7
4 changed files with 80 additions and 5 deletions
|
@ -1406,7 +1406,7 @@ else
|
|||
{
|
||||
if (anObject == self)
|
||||
return YES;
|
||||
if ([anObject isKindOf:[NSString class]])
|
||||
if ([anObject isKindOfClass:[NSString class]] == YES)
|
||||
return [self isEqualToString:anObject];
|
||||
return NO;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue