mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-10 17:43:13 +00:00
change iter constructore back to new
This commit is contained in:
parent
59f1f0bc61
commit
25678b2be2
@ -33,7 +33,7 @@ iterator items*(q: QueryIter): Future[?!QueryResponse] =
|
||||
proc defaultDispose(): Future[?!void] {.upraises: [], gcsafe, async.} =
|
||||
return success()
|
||||
|
||||
proc init*(T: type QueryIter, dispose = defaultDispose): T =
|
||||
proc new*(T: type QueryIter, dispose = defaultDispose): T =
|
||||
QueryIter(dispose: dispose)
|
||||
|
||||
proc init*(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user