From 44c75931b423d8291d77e16aa57463ce6340aa18 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 24 Jun 2024 20:33:28 -0700 Subject: [PATCH] terminal: ref counted set count is const --- src/terminal/ref_counted_set.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/ref_counted_set.zig b/src/terminal/ref_counted_set.zig index a2b9da7cf..d99a0baca 100644 --- a/src/terminal/ref_counted_set.zig +++ b/src/terminal/ref_counted_set.zig @@ -374,7 +374,7 @@ pub fn RefCountedSet( } /// Get the current number of non-dead items in the set. - pub fn count(self: *Self) usize { + pub fn count(self: *const Self) usize { return self.living; }