Cleanup ... avoid accessing the 'isa' variable directly.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32247 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-20 16:21:43 +00:00
parent ccdc185f97
commit 61bc059d4a
19 changed files with 150 additions and 123 deletions

View file

@ -372,13 +372,7 @@ static SEL objSel;
- (id) makeImmutableCopyOnFail: (BOOL)force
{
#if !defined(NDEBUG) && defined(GNUSTEP_BASE_LIBRARY)
GSDebugAllocationRemove(isa, self);
#endif
isa = [_GSInsensitiveDictionary class];
#if !defined(NDEBUG) && defined(GNUSTEP_BASE_LIBRARY)
GSDebugAllocationAdd(isa, self);
#endif
GSClassSwizzle(self, [_GSInsensitiveDictionary class]);
return self;
}