mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
(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:
parent
ed025f5a9b
commit
ff7e6221b0
6 changed files with 12 additions and 13 deletions
|
@ -139,7 +139,7 @@ _NSFoundationUncaughtExceptionHandler(NSException *exception)
|
|||
|
||||
- (void)encodeWithCoder:(NSCoder *)aCoder
|
||||
{
|
||||
//FIXME [super encodeWithCoder:aCoder];
|
||||
[super encodeWithCoder:aCoder];
|
||||
[aCoder encodeObject:e_name];
|
||||
[aCoder encodeObject:e_reason];
|
||||
[aCoder encodeObject:e_info];
|
||||
|
@ -147,7 +147,7 @@ _NSFoundationUncaughtExceptionHandler(NSException *exception)
|
|||
|
||||
- (id)initWithCoder:(NSCoder *)aDecoder
|
||||
{
|
||||
//FIXME self = [super initWithCoder:aDecoder];
|
||||
self = [super initWithCoder:aDecoder];
|
||||
e_name = [[aDecoder decodeObject] retain];
|
||||
e_reason = [[aDecoder decodeObject] retain];
|
||||
e_info = [[aDecoder decodeObject] retain];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue