diff options
author | Robert Widmann <devteam.codafi@gmail.com> | 2016-02-02 17:25:37 -0500 |
---|---|---|
committer | Robert Widmann <devteam.codafi@gmail.com> | 2016-02-02 17:25:37 -0500 |
commit | 62c0feb0bbba084b892d55c83314731fb2663a37 (patch) | |
tree | 1afa302ac4e3cdaf30534a643ed1ef2a08b97a91 /src/objc/nntp | |
parent | ad12f19b3959e8930b7183a6acb26f6571c48686 (diff) |
id -> instancetype
Diffstat (limited to 'src/objc/nntp')
-rw-r--r-- | src/objc/nntp/MCONNTPFetchArticleOperation.mm | 2 | ||||
-rw-r--r-- | src/objc/nntp/MCONNTPGroupInfo.mm | 2 | ||||
-rw-r--r-- | src/objc/nntp/MCONNTPSession.mm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/objc/nntp/MCONNTPFetchArticleOperation.mm b/src/objc/nntp/MCONNTPFetchArticleOperation.mm index 1d43d1b6..611e7ec9 100644 --- a/src/objc/nntp/MCONNTPFetchArticleOperation.mm +++ b/src/objc/nntp/MCONNTPFetchArticleOperation.mm @@ -60,7 +60,7 @@ private: return [[[self alloc] initWithMCOperation:op] autorelease]; } -- (id)initWithMCOperation:(mailcore::Operation *)op +- (instancetype) initWithMCOperation:(mailcore::Operation *)op { self = [super initWithMCOperation:op]; diff --git a/src/objc/nntp/MCONNTPGroupInfo.mm b/src/objc/nntp/MCONNTPGroupInfo.mm index 342192f2..af6b9b9a 100644 --- a/src/objc/nntp/MCONNTPGroupInfo.mm +++ b/src/objc/nntp/MCONNTPGroupInfo.mm @@ -48,7 +48,7 @@ return MCO_OBJC_BRIDGE_GET(description); } -- (id) initWithMCNNTPGroupInfo:(mailcore::NNTPGroupInfo *)info +- (instancetype) initWithMCNNTPGroupInfo:(mailcore::NNTPGroupInfo *)info { self = [super init]; diff --git a/src/objc/nntp/MCONNTPSession.mm b/src/objc/nntp/MCONNTPSession.mm index cc47ae5e..8237145c 100644 --- a/src/objc/nntp/MCONNTPSession.mm +++ b/src/objc/nntp/MCONNTPSession.mm @@ -71,7 +71,7 @@ private: return MCO_OBJC_BRIDGE_GET(description); } -- (id)init { +- (instancetype) init { self = [super init]; _session = new mailcore::NNTPAsyncSession(); |