aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/nntp
diff options
context:
space:
mode:
authorGravatar Robert Widmann <devteam.codafi@gmail.com>2016-02-02 17:25:37 -0500
committerGravatar Robert Widmann <devteam.codafi@gmail.com>2016-02-02 17:25:37 -0500
commit62c0feb0bbba084b892d55c83314731fb2663a37 (patch)
tree1afa302ac4e3cdaf30534a643ed1ef2a08b97a91 /src/objc/nntp
parentad12f19b3959e8930b7183a6acb26f6571c48686 (diff)
id -> instancetype
Diffstat (limited to 'src/objc/nntp')
-rw-r--r--src/objc/nntp/MCONNTPFetchArticleOperation.mm2
-rw-r--r--src/objc/nntp/MCONNTPGroupInfo.mm2
-rw-r--r--src/objc/nntp/MCONNTPSession.mm2
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();