mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 09:55:25 +00:00
removed (apparently) useless +version from classes, due to problems with the ObjC2 runtime on OpenBSD (thanks to Sebastian Reitenbach)
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user