add memory (test) ds

This commit is contained in:
Jaremy Creechley 2023-08-28 19:25:33 -07:00 committed by Dmitriy Ryajov
parent 170d50dd92
commit 985697b1bb
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4

View File

@ -125,5 +125,5 @@ method close*(self: MemoryDatastore): Future[?!void] {.async.} =
return success()
func new*(tp: typedesc[MemoryDatastore]): MemoryDatastore =
var self = default(tp)
var self = tp()
return self