diff --git a/ChangeLog b/ChangeLog index b5126b498..a2937bd5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-09-09 Eric Wasylishen + + * Source/NSProtocolChecker.m: Replace a -[Protocol name] with + protocol_getName() + 2010-09-09 Eric Wasylishen * Source/NSDistantObject.m: #ifdef to disable category diff --git a/Source/NSProtocolChecker.m b/Source/NSProtocolChecker.m index 3f2f6e4bd..9aba5ed5f 100644 --- a/Source/NSProtocolChecker.m +++ b/Source/NSProtocolChecker.m @@ -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];