fixes #4844
This commit is contained in:
parent
f721bdb8f5
commit
80ad3d3441
1 changed files with 5 additions and 1 deletions
|
|
@ -118,7 +118,11 @@ template dataLen(t): untyped = len(t.data)
|
|||
|
||||
include tableimpl
|
||||
|
||||
proc clear*[A, B](t: var Table[A, B] | TableRef[A, B]) =
|
||||
proc clear*[A, B](t: var Table[A, B]) =
|
||||
## Resets the table so that it is empty.
|
||||
clearImpl()
|
||||
|
||||
proc clear*[A, B](t: TableRef[A, B]) =
|
||||
## Resets the table so that it is empty.
|
||||
clearImpl()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue