mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Compare against [NSDate class], not NSDate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@375 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d4e788857
commit
b2b3636970
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@
|
|||
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
if (self != NSDate)
|
||||
if (self != [NSDate class])
|
||||
return [super allocWithZone:z];
|
||||
return [NSConcreteDate allocWithZone:z];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue