diff options
| author | 2024-03-27 21:52:02 -0400 | |
|---|---|---|
| committer | 2024-03-27 21:52:02 -0400 | |
| commit | 4ce891a8ce5336da39180964792110e131756cdd (patch) | |
| tree | b4ff0180157bb49e15d2c36f2cf0cdaab1a24535 /src/GraphemeData.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/GraphemeData.zig')
| -rw-r--r-- | src/GraphemeData.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphemeData.zig b/src/GraphemeData.zig index e418dea..971929a 100644 --- a/src/GraphemeData.zig +++ b/src/GraphemeData.zig | |||
| @@ -64,7 +64,7 @@ pub fn init(allocator: mem.Allocator) !Self { | |||
| 64 | return self; | 64 | return self; |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | pub fn deinit(self: *Self) void { | 67 | pub fn deinit(self: *const Self) void { |
| 68 | self.allocator.free(self.s1); | 68 | self.allocator.free(self.s1); |
| 69 | self.allocator.free(self.s2); | 69 | self.allocator.free(self.s2); |
| 70 | self.allocator.free(self.s3); | 70 | self.allocator.free(self.s3); |