This commit is contained in:
Araq
2016-10-02 14:16:38 +02:00
parent f721bdb8f5
commit 80ad3d3441

View File

@@ -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()