From c384482cf8bcb85bf45e8ef234ed6cd943c3adf0 Mon Sep 17 00:00:00 2001 From: rfm Date: Sun, 27 Feb 2011 22:37:52 +0000 Subject: [PATCH] tweak git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32392 72102866-910b-0410-8b05-ffd578937521 --- Source/NSOperation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSOperation.m b/Source/NSOperation.m index ab19f7608..b0c0c504c 100644 --- a/Source/NSOperation.m +++ b/Source/NSOperation.m @@ -85,7 +85,7 @@ static NSArray *empty = nil; - (void) addDependency: (NSOperation *)op { - if (NO == [op isKindOfClass: [self class]]) + if (NO == [op isKindOfClass: [NSOperation class]]) { [NSException raise: NSInvalidArgumentException format: @"[%@-%@] dependency is not an NSOperation",