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:
rfm 2013-02-09 11:34:01 +00:00
parent 6cc92b1fdd
commit fe605d46ca

View file

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