diff options
| author | 2024-03-27 21:52:02 -0400 | |
|---|---|---|
| committer | 2024-03-27 21:52:02 -0400 | |
| commit | 4ce891a8ce5336da39180964792110e131756cdd (patch) | |
| tree | b4ff0180157bb49e15d2c36f2cf0cdaab1a24535 /src/WidthData.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/WidthData.zig')
| -rw-r--r-- | src/WidthData.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WidthData.zig b/src/WidthData.zig index 32f8658..d17f0cd 100644 --- a/src/WidthData.zig +++ b/src/WidthData.zig | |||
| @@ -39,7 +39,7 @@ pub fn init(allocator: mem.Allocator) !Self { | |||
| 39 | return self; | 39 | return self; |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | pub fn deinit(self: *Self) void { | 42 | pub fn deinit(self: *const Self) void { |
| 43 | self.allocator.free(self.s1); | 43 | self.allocator.free(self.s1); |
| 44 | self.allocator.free(self.s2); | 44 | self.allocator.free(self.s2); |
| 45 | self.g_data.deinit(); | 45 | self.g_data.deinit(); |