git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3037 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-10-07 19:50:57 +00:00
parent 8ee1efa0ca
commit e1cbc4c0a2
2 changed files with 3 additions and 3 deletions

View file

@ -309,8 +309,8 @@ compiler warning.
@end
/* Because the compiler thinks that @".." strings are NXConstantString's. */
#include <gnustep/base/NSGString.h>
#include <gnustep/base/NSGCString.h>
#include <Foundation/NSGString.h>
#include <Foundation/NSGCString.h>
@interface NXConstantString : NSGCString
@end

View file

@ -75,7 +75,7 @@
if (_hash == 0)
_fastImp._NSGString_hash(self, @selector(hash));
if (other->_hash == 0)
_fastImp._NSGString_hash(self, @selector(hash));
_fastImp._NSGString_hash(other, @selector(hash));
if (_hash != other->_hash)
return NO;
return [self isEqualToString: other];