([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:
mccallum 1996-04-14 15:58:03 +00:00
parent f64eb0baae
commit fc619424b7

View file

@ -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];