rbtree: fix previously flawed implementation
got book'd up Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
408f00bb05
commit
82c32011b4
2 changed files with 103 additions and 53 deletions
|
|
@ -14,7 +14,8 @@ struct rbnode {
|
|||
int color;
|
||||
|
||||
uint64_t key;
|
||||
uint64_t value; /* extra value */
|
||||
uint64_t value; /* extra values */
|
||||
uint64_t value2;
|
||||
};
|
||||
|
||||
/* we use this rbtree structure because the root node will potentially be
|
||||
|
|
|
|||
Loading…
Reference in a new issue