terminal: ref counted set count is const

This commit is contained in:
Mitchell Hashimoto
2024-06-24 20:33:28 -07:00
parent 93b038f490
commit 44c75931b4

View File

@ -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;
}