mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(initialize): return void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@156 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6e6235c22a
commit
7f28838123
2 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,7 @@ static id nilRBNode;
|
|||
|
||||
@implementation RBTree
|
||||
|
||||
+ initialize
|
||||
+ (void) initialize
|
||||
{
|
||||
if (self == [RBTree class])
|
||||
{
|
||||
|
@ -41,7 +41,6 @@ static id nilRBNode;
|
|||
nilRBNode = [[RBTreeNode alloc] init];
|
||||
[nilRBNode setBlack];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- nilNode
|
||||
|
|
|
@ -26,11 +26,10 @@
|
|||
|
||||
@implementation SplayTree
|
||||
|
||||
+ initialize
|
||||
+ (void) initialize
|
||||
{
|
||||
if (self == [SplayTree class])
|
||||
[self setVersion:0]; /* beta release */
|
||||
return self;
|
||||
}
|
||||
|
||||
/* Make this a function ? */
|
||||
|
|
Loading…
Reference in a new issue