@@ -115,26 +115,26 @@ return (id)&placeholder; return [super alloc]; } -+ set ++ (instancetype)set { return [[[self alloc] init] autorelease]; } -+ setWithSet: (OFSet*)set ++ (instancetype)setWithSet: (OFSet*)set { return [[[self alloc] initWithSet: set] autorelease]; } -+ setWithArray: (OFArray*)array ++ (instancetype)setWithArray: (OFArray*)array { return [[[self alloc] initWithArray: array] autorelease]; } -+ setWithObjects: (id)firstObject, ... ++ (instancetype)setWithObjects: (id)firstObject, ... { id ret; va_list arguments; va_start(arguments, firstObject); @@ -143,12 +143,12 @@ va_end(arguments); return ret; } -+ setWithObjects: (id const*)objects - count: (size_t)count ++ (instancetype)setWithObjects: (id const*)objects + count: (size_t)count { return [[[self alloc] initWithObjects: objects count: count] autorelease]; }