summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 498f83d..346b172 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -565,7 +565,7 @@ pub fn Iterator(comptime Type: type) type {
565 }, 565 },
566 .Struct => { 566 .Struct => {
567 std.debug.assert(columns == TypeInfo.Struct.fields.len); 567 std.debug.assert(columns == TypeInfo.Struct.fields.len);
568 return try self.readStruct(.{}); 568 return try self.readStruct(options);
569 }, 569 },
570 else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"), 570 else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"),
571 } 571 }