mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03: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