aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/abstract/MCOAbstractPart.h
diff options
context:
space:
mode:
authorGravatar Nikolay Morev <n.morev@corp.mail.ru>2016-02-09 16:40:09 +0300
committerGravatar Nikolay Morev <n.morev@corp.mail.ru>2016-02-09 16:43:07 +0300
commit1b18cb5df83eda129fba6c23bed955d9e4a2bbf8 (patch)
tree927857b16fe71a7aa9291b6fcda43ac46fb9b3ab /src/objc/abstract/MCOAbstractPart.h
parent5b694c89ebe98f388af25ad8f176f42523594358 (diff)
Mark non-designated initializers and new as unavailable
Diffstat (limited to 'src/objc/abstract/MCOAbstractPart.h')
-rw-r--r--src/objc/abstract/MCOAbstractPart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objc/abstract/MCOAbstractPart.h b/src/objc/abstract/MCOAbstractPart.h
index 0e768215..8bff41dd 100644
--- a/src/objc/abstract/MCOAbstractPart.h
+++ b/src/objc/abstract/MCOAbstractPart.h
@@ -113,6 +113,8 @@ namespace mailcore {
/** Do not invoke this directly. */
- (instancetype) init NS_UNAVAILABLE;
+/** Do not invoke this directly. */
++ (instancetype) new NS_UNAVAILABLE;
@end