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/FoldData.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/FoldData.zig') diff --git a/src/FoldData.zig b/src/FoldData.zig index 2a9a1f5..e387447 100644 --- a/src/FoldData.zig +++ b/src/FoldData.zig @@ -41,7 +41,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.fold) |slice| self.allocator.free(slice); self.allocator.free(self.fold); self.allocator.free(self.cwcf); -- cgit v1.2.3