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/GenCatData.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GenCatData.zig') diff --git a/src/GenCatData.zig b/src/GenCatData.zig index b45135b..37ae037 100644 --- a/src/GenCatData.zig +++ b/src/GenCatData.zig @@ -71,7 +71,7 @@ pub fn init(allocator: mem.Allocator) !Self { return self; } -pub fn deinit(self: *Self) void { +pub fn deinit(self: *const Self) void { self.allocator.free(self.s1); self.allocator.free(self.s2); self.allocator.free(self.s3); -- cgit v1.2.3