Use instancetype.
This commit is contained in:
parent
4fead04d9a
commit
9ae39edeb4
32 changed files with 153 additions and 153 deletions
|
@ -30,7 +30,7 @@
|
|||
#import <ObjFW/macros.h>
|
||||
|
||||
@implementation XMPPRosterItem
|
||||
+ rosterItem
|
||||
+ (instancetype)rosterItem
|
||||
{
|
||||
return [[[self alloc] init] autorelease];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue