Fixed ([-copyWithZone:]) to avoid using the (non-existant) NSObject method.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2844 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-07-15 12:46:46 +00:00
parent 476f8358e1
commit adeeec16c7

View file

@ -329,7 +329,7 @@ static NSLock* cache_lock = nil;
if (NSShouldRetainWithZone(self, zone))
return [self retain];
else
return [super copyWithZone:zone];
return NSCopyObject (self, 0, zone);
}
- (id)mutableCopyWithZone:(NSZone *)zone