diff options
author | 2013-07-03 21:54:40 -0600 | |
---|---|---|
committer | 2013-07-03 21:54:40 -0600 | |
commit | 1c7c1d4a5474b093f82f43d514bbb043047d4489 (patch) | |
tree | bfebc123e21714ef8e69d6a44e59daf64447e1a1 /src/objc/rfc822/MCOAttachment.mm | |
parent | 8b938b91af6d22c594f0e07d4a5554bd9c07d1b4 (diff) |
NSCopying only in base classes
Diffstat (limited to 'src/objc/rfc822/MCOAttachment.mm')
-rw-r--r-- | src/objc/rfc822/MCOAttachment.mm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/objc/rfc822/MCOAttachment.mm b/src/objc/rfc822/MCOAttachment.mm index 423ac0df..5b20e583 100644 --- a/src/objc/rfc822/MCOAttachment.mm +++ b/src/objc/rfc822/MCOAttachment.mm @@ -26,14 +26,6 @@ MCORegisterClass(self, &typeid(nativeType)); } -- (id) copyWithZone:(NSZone *)zone -{ - nativeType * nativeObject = (nativeType *) [self mco_mcObject]->copy(); - id result = [[self class] mco_objectWithMCObject:nativeObject]; - MC_SAFE_RELEASE(nativeObject); - return [result retain]; -} - + (NSObject *) mco_objectWithMCObject:(mailcore::Object *)object { mailcore::Attachment * attachment = (mailcore::Attachment *) object; |