aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nikolay Morev <n.morev@corp.mail.ru>2016-02-09 19:21:53 +0300
committerGravatar Nikolay Morev <n.morev@corp.mail.ru>2016-02-09 19:21:53 +0300
commitce8273bb3dc25d87349505645db65996c3ca753a (patch)
treebb475fe893e25e7ae8b8f07b4715b8729b092c52
parent1b18cb5df83eda129fba6c23bed955d9e4a2bbf8 (diff)
Don't mark MCOAbstractMessage init as unavailable
It's used in subclass and there's no way to reenable previously disabled method in subclass.
-rw-r--r--src/objc/abstract/MCOAbstractMessage.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/objc/abstract/MCOAbstractMessage.h b/src/objc/abstract/MCOAbstractMessage.h
index bc9b26f7..ed858808 100644
--- a/src/objc/abstract/MCOAbstractMessage.h
+++ b/src/objc/abstract/MCOAbstractMessage.h
@@ -25,10 +25,6 @@ namespace mailcore {
#ifdef __cplusplus
- (instancetype) initWithMCMessage:(mailcore::AbstractMessage *)message NS_DESIGNATED_INITIALIZER;
-/** Do not invoke this directly. */
-- (instancetype) init NS_UNAVAILABLE;
-/** Do not invoke this directly. */
-+ (instancetype) new NS_UNAVAILABLE;
#endif
/** Header of the message. */