diff options
author | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2015-09-08 16:42:51 -0700 |
---|---|---|
committer | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2015-09-08 16:42:51 -0700 |
commit | 18b80e588a52607f2eaa76683de5904c7d56119c (patch) | |
tree | 5415bca21ef557fd8bb36499a3e3cbe29cfe5f8c /src/objc/rfc822 | |
parent | 859457d3a03a4a81eedb4f39caf3b667dee7a71c (diff) |
Revert "Fixed warnings"
This reverts commit d71dd9985dbaa716f59ca5bc1b533feeb032ca38.
Diffstat (limited to 'src/objc/rfc822')
-rw-r--r-- | src/objc/rfc822/MCOAttachment.mm | 2 | ||||
-rw-r--r-- | src/objc/rfc822/MCOMessageBuilder.mm | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/objc/rfc822/MCOAttachment.mm b/src/objc/rfc822/MCOAttachment.mm index 77a642d6..afaf96af 100644 --- a/src/objc/rfc822/MCOAttachment.mm +++ b/src/objc/rfc822/MCOAttachment.mm @@ -35,7 +35,7 @@ - (id) init { mailcore::Attachment * attachment = new mailcore::Attachment(); - self = [super initWithMCPart:attachment]; + self = [self initWithMCPart:attachment]; attachment->release(); return self; diff --git a/src/objc/rfc822/MCOMessageBuilder.mm b/src/objc/rfc822/MCOMessageBuilder.mm index 3531caf9..090fc99d 100644 --- a/src/objc/rfc822/MCOMessageBuilder.mm +++ b/src/objc/rfc822/MCOMessageBuilder.mm @@ -26,8 +26,7 @@ - (id)init { mailcore::MessageBuilder * message = new mailcore::MessageBuilder(); - self = [super init]; - [self setMCMessage:message]; + self = [super initWithMCMessage:message]; MC_SAFE_RELEASE(message); return self; } |