| ... | @@ -8,7 +8,8 @@ const Self = @This(); | ... | @@ -8,7 +8,8 @@ const Self = @This(); |
| 8 | db: sqlite.Db = undefined, | 8 | db: sqlite.Db = undefined, |
| 9 | mutex: std.Thread.Mutex, | 9 | mutex: std.Thread.Mutex, |
| 10 | | 10 | |
| 11 | pub fn connect(path: [:0]const u8) !Self { | 11 | pub fn connect(allocator: std.mem.Allocator, path: [:0]const u8) !Self { |
| | 12 | _ = allocator; |
| 12 | return Self{ | 13 | return Self{ |
| 13 | .db = try sqlite.Db.init(.{ | 14 | .db = try sqlite.Db.init(.{ |
| 14 | .mode = sqlite.Db.Mode{ .File = path }, | 15 | .mode = sqlite.Db.Mode{ .File = path }, |