From b84b1b9a16dd06a947fc5a58632303d01f766ddb Mon Sep 17 00:00:00 2001 From: Andrew McCallum Date: Sat, 1 Apr 1995 17:48:49 +0000 Subject: [PATCH] (+conformsToProtocol:): For now, send conformsTo: to Protocol object. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@220 72102866-910b-0410-8b05-ffd578937521 --- Source/NSObject.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/NSObject.m b/Source/NSObject.m index 2b6e9fd01..8248c940a 100644 --- a/Source/NSObject.m +++ b/Source/NSObject.m @@ -168,7 +168,8 @@ BOOL NSDecrementExtraRefCountWasZero(id anObject) { for (i=0; i < proto_list->count; i++) { - if ([proto_list->list[i] conformsToProtocol: aProtocol]) + /* xxx We should add conformsToProtocol to Protocol class. */ + if ([proto_list->list[i] conformsTo: aProtocol]) return YES; } }