mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3342 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb4ddaa055
commit
0b8458368e
2 changed files with 4 additions and 3 deletions
|
@ -446,7 +446,7 @@ static BOOL double_release_check_enabled = NO;
|
|||
#if 0
|
||||
return (class_get_instance_method(self, aSelector) != METHOD_NULL);
|
||||
#else
|
||||
return __objc_responds_to(self, aSelector);
|
||||
return __objc_responds_to((id)&self, aSelector);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -784,7 +784,7 @@ static BOOL double_release_check_enabled = NO;
|
|||
else
|
||||
return (class_get_class_method(fastClass(self), aSelector)!=METHOD_NULL);
|
||||
#else
|
||||
return __objc_responds_to(fastClass(self), aSelector);
|
||||
return __objc_responds_to(self, aSelector);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue