diff options
| author | 2024-03-27 21:52:02 -0400 | |
|---|---|---|
| committer | 2024-03-27 21:52:02 -0400 | |
| commit | 4ce891a8ce5336da39180964792110e131756cdd (patch) | |
| tree | b4ff0180157bb49e15d2c36f2cf0cdaab1a24535 /src/FoldData.zig | |
| parent | Friendly general category methods (diff) | |
| download | zg-4ce891a8ce5336da39180964792110e131756cdd.tar.gz zg-4ce891a8ce5336da39180964792110e131756cdd.tar.xz zg-4ce891a8ce5336da39180964792110e131756cdd.zip | |
ScriptsData and made all Datas const
Diffstat (limited to 'src/FoldData.zig')
| -rw-r--r-- | src/FoldData.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 41 | return self; | 41 | return self; |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | pub fn deinit(self: *Self) void { | 44 | pub fn deinit(self: *const Self) void { |
| 45 | for (self.fold) |slice| self.allocator.free(slice); | 45 | for (self.fold) |slice| self.allocator.free(slice); |
| 46 | self.allocator.free(self.fold); | 46 | self.allocator.free(self.fold); |
| 47 | self.allocator.free(self.cwcf); | 47 | self.allocator.free(self.cwcf); |