mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fixed stupid typo error in timeout code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2828 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
88ee3d5482
commit
c28123a0d8
1 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue