From fe605d46ca0dd4016581b93485803831fb508ace Mon Sep 17 00:00:00 2001 From: rfm Date: Sat, 9 Feb 2013 11:34:01 +0000 Subject: [PATCH] update for objc2 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@36095 72102866-910b-0410-8b05-ffd578937521 --- SQLClient.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQLClient.m b/SQLClient.m index d0a13c3..08284c6 100644 --- a/SQLClient.m +++ b/SQLClient.m @@ -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 }