mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
476f8358e1
commit
adeeec16c7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue