]> git.saurik.com Git - apple/objc4.git/blobdiff - runtime/objc-exception.mm
objc4-818.2.tar.gz
[apple/objc4.git] / runtime / objc-exception.mm
index 6c318c6255f090a9719b7eb928eba406f97acdc8..2b794e6b34c4c554114beb6523d06e67c7051ce7 100644 (file)
@@ -440,7 +440,7 @@ static int _objc_default_exception_matcher(Class catch_cls, id exception)
     Class cls;
     for (cls = exception->getIsa();
          cls != nil; 
-         cls = cls->superclass)
+         cls = cls->getSuperclass())
     {
         if (cls == catch_cls) return 1;
     }