mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
([Coder -encodeConditionalObject:]): Don't use old, removed method
name to see if object has already been encoded. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1365 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f64eb0baae
commit
fc619424b7
1 changed files with 1 additions and 2 deletions
|
@ -178,8 +178,7 @@ static BOOL debug_coder = NO;
|
|||
you could get corrupt data on the stack when Coder resolves its
|
||||
forward references. I recommend just using the GNU Coder. */
|
||||
#if 1
|
||||
unsigned xref = PTR2LONG(anObject);
|
||||
if ([self _coderHasObjectReference:xref])
|
||||
if ([self _coderReferenceForObject: anObject])
|
||||
[self encodeObject: anObject];
|
||||
else
|
||||
[self encodeObject: nil];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue