RB_EMPTY() applies to red-black trees, not splay trees.
This commit is contained in:
parent
5129dcfce7
commit
309e4b9b6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122411
@ -431,7 +431,7 @@ macro:
|
|||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fn RB_EMPTY
|
.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
|
.Sh NOTES
|
||||||
Trying to free a tree in the following way is a common error:
|
Trying to free a tree in the following way is a common error:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
|
Loading…
Reference in New Issue
Block a user