diff --git a/Source/NSConnection.m b/Source/NSConnection.m index bc3ee10ef..9f1c72cf3 100644 --- a/Source/NSConnection.m +++ b/Source/NSConnection.m @@ -141,6 +141,15 @@ NSString *NSConnectionProxyCount = @"NSConnectionProxyCount"; @implementation CachedLocalObject ++ (CachedLocalObject*) itemWithObject: (id)o time: (int)t +{ + CachedLocalObject *item = [[self alloc] init]; + + item->obj = [o retain]; + item->time = t; + return [item autorelease]; +} + - (void) dealloc { [obj release]; @@ -159,16 +168,6 @@ NSString *NSConnectionProxyCount = @"NSConnectionProxyCount"; return obj; } -+ (CachedLocalObject*) itemWithObject: (id)o time: (int)t -{ - CachedLocalObject *item = [self alloc]; - - item = [super init]; - item->obj = [o retain]; - item->time = t; - return [item autorelease]; -} - @end