diff options
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | } |