From 5befe75a1f6bfe6bae95414695d8db7d4e85c0f3 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 23 Aug 2024 15:30:47 -0700 Subject: [PATCH] font/harfbuzz: work with new collection API --- src/font/shaper/harfbuzz.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/font/shaper/harfbuzz.zig b/src/font/shaper/harfbuzz.zig index 7599a624d..8c04b759d 100644 --- a/src/font/shaper/harfbuzz.zig +++ b/src/font/shaper/harfbuzz.zig @@ -1207,7 +1207,7 @@ fn testShaperWithFont(alloc: Allocator, font_req: TestFont) !TestShaper { var lib = try Library.init(); errdefer lib.deinit(); - var c = try Collection.init(alloc); + var c = Collection.init(); c.load_options = .{ .library = lib }; // Setup group