mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-18 19:11:20 +00:00
terminal: ref counted set count is const
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user