aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/rfc822/MCOAttachment.mm
diff options
context:
space:
mode:
authorGravatar Robert Widmann <devteam.codafi@gmail.com>2013-07-03 21:54:40 -0600
committerGravatar Robert Widmann <devteam.codafi@gmail.com>2013-07-03 21:54:40 -0600
commit1c7c1d4a5474b093f82f43d514bbb043047d4489 (patch)
treebfebc123e21714ef8e69d6a44e59daf64447e1a1 /src/objc/rfc822/MCOAttachment.mm
parent8b938b91af6d22c594f0e07d4a5554bd9c07d1b4 (diff)
NSCopying only in base classes
Diffstat (limited to 'src/objc/rfc822/MCOAttachment.mm')
-rw-r--r--src/objc/rfc822/MCOAttachment.mm8
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;