removed (apparently) useless +version from classes, due to problems with the ObjC2 runtime on OpenBSD (thanks to Sebastian Reitenbach)

pull/5/head
Wolfgang Sourdeau 2012-10-18 10:33:20 -04:00
parent 1f586a4416
commit bde8f662a3
1 changed files with 0 additions and 8 deletions

View File

@ -67,15 +67,7 @@ static NSMutableArray *monthLabelKeys = nil;
static NSMutableArray *abbrMonthLabelKeys = nil;
static SoProduct *commonProduct = nil;
+ (int)version {
return [super version] + 0 /* v2 */;
}
+ (void)initialize {
NSAssert2([super version] == 2,
@"invalid superclass (%@) version %i !",
NSStringFromClass([self superclass]), [super version]);
if (dayLabelKeys == nil) {
dayLabelKeys = [[NSMutableArray alloc] initWithCapacity:7];
[dayLabelKeys addObject:@"Sunday"];