aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOAbstractPart.h
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/abstract/MCOAbstractPart.h
parentad12f19b3959e8930b7183a6acb26f6571c48686 (diff)
id -> instancetype
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r--src/objc/abstract/MCOAbstractPart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h
index f3986af1..0e768215 100644
--- a/src/objc/abstract/MCOAbstractPart.h
+++ b/src/objc/abstract/MCOAbstractPart.h
@@ -50,7 +50,7 @@ namespace mailcore {
@interface MCOAbstractPart : NSObject <NSCopying>
#ifdef __cplusplus
-- (id) initWithMCPart:(mailcore::AbstractPart *)part NS_DESIGNATED_INITIALIZER;
+- (instancetype) initWithMCPart:(mailcore::AbstractPart *)part NS_DESIGNATED_INITIALIZER;
#endif
/** Returns type of the part (single / message part / multipart/mixed,
@@ -112,7 +112,7 @@ namespace mailcore {
@interface MCOAbstractPart (MCOUnavailable)
/** Do not invoke this directly. */
-- (id) init NS_UNAVAILABLE;
+- (instancetype) init NS_UNAVAILABLE;
@end