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:
Andrew McCallum 1995-04-15 20:02:56 +00:00
parent 7d4e788857
commit b2b3636970

View file

@ -99,7 +99,7 @@
+ (id) allocWithZone: (NSZone*)z
{
if (self != NSDate)
if (self != [NSDate class])
return [super allocWithZone:z];
return [NSConcreteDate allocWithZone:z];
}