change to generics

This commit is contained in:
Jaremy Creechley 2023-09-25 18:02:34 -07:00
parent 24ca5f96c9
commit 9fe9951b91
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -213,7 +213,7 @@ proc getDBFilePath*(path: string): ?!string =
except CatchableError as exc:
return failure(exc.msg)
proc close*(self: SQLiteDsDb) =
proc close*[K, V](self: SQLiteDsDb[K, V]) =
self.containsStmt.dispose
self.getStmt.dispose
self.beginStmt.dispose