From 7484a5ae8534515aabe8ce2bcb3ca72bc634f69c Mon Sep 17 00:00:00 2001 From: mccallum Date: Fri, 5 May 1995 21:32:14 +0000 Subject: [PATCH] (encodeWithCoder:, initWithCoder:): Remove class names from arg type to avoid bogus warnings about protocol conformance. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@423 72102866-910b-0410-8b05-ffd578937521 --- Source/NSException.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSException.m b/Source/NSException.m index fe1ad08ca..6ac78d936 100644 --- a/Source/NSException.m +++ b/Source/NSException.m @@ -137,7 +137,7 @@ _NSFoundationUncaughtExceptionHandler(NSException *exception) } -- (void)encodeWithCoder:(NSCoder *)aCoder +- (void)encodeWithCoder: aCoder { [super encodeWithCoder:aCoder]; [aCoder encodeObject:e_name]; @@ -145,7 +145,7 @@ _NSFoundationUncaughtExceptionHandler(NSException *exception) [aCoder encodeObject:e_info]; } -- (id)initWithCoder:(NSCoder *)aDecoder +- (id)initWithCoder: aDecoder { self = [super initWithCoder:aDecoder]; e_name = [[aDecoder decodeObject] retain];