RB_EMPTY() applies to red-black trees, not splay trees.
This commit is contained in:
parent
2545ff462c
commit
acf177087d
@ -431,7 +431,7 @@ macro:
|
||||
.Pp
|
||||
The
|
||||
.Fn RB_EMPTY
|
||||
macro should be used to check whether a splay tree is empty.
|
||||
macro should be used to check whether a red-black tree is empty.
|
||||
.Sh NOTES
|
||||
Trying to free a tree in the following way is a common error:
|
||||
.Bd -literal -offset indent
|
||||
|
Loading…
Reference in New Issue
Block a user