This commit is contained in:
parent
81703d4ad4
commit
e463a67c74
2 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ proc `=destroy`(t: var Tree) {.nodestroy.} =
|
|||
let x = s.pop
|
||||
if x.left != nil: s.add(x.left)
|
||||
if x.right != nil: s.add(x.right)
|
||||
dispose(x)
|
||||
`=dispose`(x)
|
||||
`=destroy`(s)
|
||||
|
||||
proc hasValue(self: var Tree, x: int32): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue