mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Replace a call to -[Protocol name] with protocol_getName
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31282 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
97c3ff4572
commit
cb71195672
2 changed files with 7 additions and 2 deletions
|
@ -98,13 +98,13 @@
|
|||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"<%s -%@> not declared",
|
||||
[_myProtocol name], NSStringFromSelector([anInvocation selector])];
|
||||
protocol_getName(_myProtocol), NSStringFromSelector([anInvocation selector])];
|
||||
}
|
||||
else
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"<%s +%@> not declared",
|
||||
[_myProtocol name], NSStringFromSelector([anInvocation selector])];
|
||||
protocol_getName(_myProtocol), NSStringFromSelector([anInvocation selector])];
|
||||
}
|
||||
}
|
||||
[anInvocation invokeWithTarget: _myTarget];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue