RB_EMPTY() applies to red-black trees, not splay trees.
This commit is contained in:
parent
5129dcfce7
commit
309e4b9b6d
@ -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…
x
Reference in New Issue
Block a user