From 39c9d218673deea271dd6d1920519ae47cf5afbf Mon Sep 17 00:00:00 2001 From: theraven Date: Sat, 15 Jan 2011 12:35:22 +0000 Subject: [PATCH] Remove use of macro that doesn't exist anymore... --- sync.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.m b/sync.m index 63f78e1..69a39e3 100644 --- a/sync.m +++ b/sync.m @@ -95,7 +95,7 @@ static void deallocLockClass(id obj, SEL _cmd) // Call the real -dealloc method (this ordering is required in case the // user does @synchronized(self) in -dealloc) 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. // Free the lock mutex_t *lock = object_getIndexedIvars(lockClass);