fix macos build

This commit is contained in:
Jack N
2024-04-22 23:35:48 -07:00
parent 346eba3152
commit 8c8f1b6fde

View File

@ -1463,7 +1463,7 @@ fn testShaperWithFont(alloc: Allocator, font_req: TestFont) !TestShaper {
const grid_ptr = try alloc.create(SharedGrid);
errdefer alloc.destroy(grid_ptr);
grid_ptr.* = try SharedGrid.init(alloc, .{ .collection = c }, false);
grid_ptr.* = try SharedGrid.init(alloc, .{ .collection = c });
errdefer grid_ptr.*.deinit(alloc);
var shaper = try Shaper.init(alloc, .{});