Remove use of macro that doesn't exist anymore...

main
theraven 15 years ago
parent bde6bf0e14
commit 39c9d21867

@ -95,7 +95,7 @@ static void deallocLockClass(id obj, SEL _cmd)
// Call the real -dealloc method (this ordering is required in case the // Call the real -dealloc method (this ordering is required in case the
// user does @synchronized(self) in -dealloc) // user does @synchronized(self) in -dealloc)
struct objc_super super = {obj, realClass }; struct objc_super super = {obj, realClass };
objc_msgSendSuper(&super, SELECTOR(dealloc)); objc_msg_lookup_super(&super, SELECTOR(dealloc))(obj, SELECTOR(dealloc));
// After calling [super dealloc], the object will no longer exist. // After calling [super dealloc], the object will no longer exist.
// Free the lock // Free the lock
mutex_t *lock = object_getIndexedIvars(lockClass); mutex_t *lock = object_getIndexedIvars(lockClass);

Loading…
Cancel
Save