From 4ce891a8ce5336da39180964792110e131756cdd Mon Sep 17 00:00:00 2001 From: Jose Colon Rodriguez Date: Wed, 27 Mar 2024 21:52:02 -0400 Subject: ScriptsData and made all Datas const --- src/CompatData.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CompatData.zig') diff --git a/src/CompatData.zig b/src/CompatData.zig index fd7f678..67c43e6 100644 --- a/src/CompatData.zig +++ b/src/CompatData.zig @@ -37,7 +37,7 @@ pub fn init(allocator: mem.Allocator) !Self { return self; } -pub fn deinit(self: *Self) void { +pub fn deinit(self: *const Self) void { for (self.nfkd) |slice| { if (slice.len != 0) self.allocator.free(slice); } -- cgit v1.2.3