more replacements for the deprecated '<'
This commit is contained in:
parent
70ea45cdba
commit
6a3288a60e
19 changed files with 43 additions and 43 deletions
|
|
@ -257,7 +257,7 @@ proc allprefixedAux[T](c: CritBitTree[T], key: string; longestMatch: bool): Node
|
|||
p = p.child[dir]
|
||||
if q.byte < key.len: top = p
|
||||
if not longestMatch:
|
||||
for i in 0 .. <key.len:
|
||||
for i in 0 ..< key.len:
|
||||
if p.key[i] != key[i]: return
|
||||
result = top
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue