Don't access isa directly.

This commit is contained in:
Jonathan Schleifer 2012-07-12 05:09:06 +02:00
parent edadc4878b
commit 430bde693e
3 changed files with 35 additions and 31 deletions

View file

@ -34,7 +34,7 @@
- initWithClass: (Class)class_
{
Class c = isa;
Class c = [self class];
[self release];
@throw [OFNotImplementedException exceptionWithClass: c
selector: _cmd];