update for objc2

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@36095 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-02-09 11:34:01 +00:00
parent 2e84577b69
commit a4ec0e036b

View file

@ -2251,11 +2251,11 @@ static unsigned int maxConnections = 8;
{ {
[self disconnect]; [self disconnect];
#ifdef GNUSTEP #ifdef GNUSTEP
GSDebugAllocationRemove(self->isa, self); GSDebugAllocationRemove(object_getClass(self), self);
#endif #endif
self->isa = c; object_setClass(self, c);
#ifdef GNUSTEP #ifdef GNUSTEP
GSDebugAllocationAdd(self->isa, self); GSDebugAllocationAdd(object_getClass(self), self);
#endif #endif
} }