mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix 'classForPortCoder' for Protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2873 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e8f693c6eb
commit
fd3901c265
1 changed files with 2 additions and 2 deletions
|
@ -480,7 +480,7 @@ format: @"NSDistantObject objects only decode with PortDecoder class"];
|
|||
* remote system, we must tell the other end to retain its
|
||||
* local object for our use.
|
||||
*/
|
||||
if ([proxy_connection includesProxyForTarget: target] == NO)
|
||||
if ([proxy_connection includesProxyForTarget: (id)target] == NO)
|
||||
[proxy_connection retainTarget: target];
|
||||
|
||||
result = [[NSDistantObject proxyWithTarget: (id)target
|
||||
|
@ -585,7 +585,7 @@ format: @"NSDistantObject objects only decode with PortDecoder class"];
|
|||
|
||||
- (Class) classForPortCoder
|
||||
{
|
||||
return [self classForCoder];
|
||||
return [self class];
|
||||
}
|
||||
|
||||
- replacementObjectForPortCoder: (NSPortCoder*)aRmc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue