(encodeWithCoder:, initWithCoder:): Include call to super since

NSObject now implements these methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@402 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-04-20 21:50:04 +00:00
parent 8e808d3bcc
commit a427755065
6 changed files with 12 additions and 13 deletions

View file

@ -89,13 +89,13 @@
// NSCoding
- (void)encodeWithCoder:(NSCoder *)coder
{
//FIXME [super encodeWithCoder:coder];
[super encodeWithCoder:coder];
[coder encodeValueOfObjCType:[self objCType] at:&data];
}
- (id)initWithCoder:(NSCoder *)coder
{
//FIXME self = [super initWithCoder:coder];
self = [super initWithCoder:coder];
[coder decodeValueOfObjCType:[self objCType] at:&data];
return self;
}