Make the BufMap.count return value match its underlying HashMap's Size

Fixes a process.EnvMap compile error on 32-bit architectures
This commit is contained in:
Ryan Liptak 2022-01-20 02:21:52 -08:00 committed by Jonathan Marler
parent 9e89000ffc
commit a65be05a6e

View File

@ -82,7 +82,7 @@ pub const BufMap = struct {
}
/// Returns the number of KV pairs stored in the map.
pub fn count(self: BufMap) usize {
pub fn count(self: BufMap) BufMapHashMap.Size {
return self.hash_map.count();
}