mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix the return type of NSDistantObject +autorelease to return id, not void. Type-dependent dispatch in libobjc2 discovered that some things are picking up this method signature by accident and calling NSObject's -autorelease with the wrong types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ea423f1f64
commit
0898a4c4b2
1 changed files with 3 additions and 2 deletions
|
@ -130,7 +130,7 @@ enum proxyLocation
|
|||
+ (id) initWithCoder: (NSCoder*)aCoder;
|
||||
+ (id) initWithLocal: (id)anObject connection: (NSConnection*)aConnection;
|
||||
+ (id) initWithTarget: (unsigned)target connection: (NSConnection*)aConnection;
|
||||
+ (void) autorelease;
|
||||
+ (id) autorelease;
|
||||
+ (void) release;
|
||||
+ (id) retain;
|
||||
+ (BOOL) respondsToSelector: (SEL)sel;
|
||||
|
@ -138,8 +138,9 @@ enum proxyLocation
|
|||
|
||||
@implementation GSDistantObjectPlaceHolder
|
||||
|
||||
+ (void) autorelease
|
||||
+ (id) autorelease
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
||||
+ (void) release
|
||||
|
|
Loading…
Reference in a new issue