From fc6cbaa2b9ff35e17cfa3fb1669e9c7e4e357bb7 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Mon, 25 Nov 2024 23:12:21 +0100 Subject: [PATCH] Fix TableWithRelations for TableShape with declarations. --- src/result.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/result.zig b/src/result.zig index f9b4d33..2e65e96 100644 --- a/src/result.zig +++ b/src/result.zig @@ -61,7 +61,7 @@ pub fn TableWithRelations(comptime TableShape: type, comptime MetadataShape: ?ty .Struct = .{ .layout = tableType.Struct.layout, .fields = &fields, - .decls = tableType.Struct.decls, + .decls = &[0]std.builtin.Type.Declaration{}, .is_tuple = tableType.Struct.is_tuple, .backing_integer = tableType.Struct.backing_integer, },