aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/utils/NSObject+MCO.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/utils/NSObject+MCO.h')
-rw-r--r--src/objc/utils/NSObject+MCO.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objc/utils/NSObject+MCO.h b/src/objc/utils/NSObject+MCO.h
index 923cc263..e879a39f 100644
--- a/src/objc/utils/NSObject+MCO.h
+++ b/src/objc/utils/NSObject+MCO.h
@@ -79,7 +79,7 @@ MCO_NATIVE_INSTANCE->setter((mcType) getter); \
}
#define MCO_SYNTHESIZE_NSCODING \
-- (id) initWithCoder:(NSCoder *)coder \
+- (instancetype) initWithCoder:(NSCoder *)coder \
{ \
mailcore::HashMap * serializable = MCO_FROM_OBJC(mailcore::HashMap, [coder decodeObjectForKey:@"info"]); \
self = MCO_TO_OBJC(mailcore::Object::objectWithSerializable(serializable)); \