summaryrefslogtreecommitdiff
path: root/src/CanonData.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/CanonData.zig')
-rw-r--r--src/CanonData.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CanonData.zig b/src/CanonData.zig
index 36895ff..9f1deb8 100644
--- a/src/CanonData.zig
+++ b/src/CanonData.zig
@@ -42,7 +42,7 @@ pub fn init(allocator: mem.Allocator) !Self {
42 return self; 42 return self;
43} 43}
44 44
45pub fn deinit(self: *Self) void { 45pub fn deinit(self: *const Self) void {
46 self.nfc.deinit(); 46 self.nfc.deinit();
47 for (self.nfd) |slice| self.allocator.free(slice); 47 for (self.nfd) |slice| self.allocator.free(slice);
48 self.allocator.free(self.nfd); 48 self.allocator.free(self.nfd);