mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
|
@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
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
[obj release];
|
[obj release];
|
||||||
|
@ -159,16 +168,6 @@ NSString *NSConnectionProxyCount = @"NSConnectionProxyCount";
|
||||||
return obj;
|
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
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue