parent
e2ea281de1
commit
9dc7a0c6e3
src/Collections
|
@ -107,6 +107,9 @@ namespace ArbUt {
|
||||||
/// @brief Removes an item with a certain key from the dictionary
|
/// @brief Removes an item with a certain key from the dictionary
|
||||||
inline void Remove(const StringView& key) { _map.erase(key); }
|
inline void Remove(const StringView& key) { _map.erase(key); }
|
||||||
|
|
||||||
|
/// @brief Removes an item with a certain key hash from the dictionary
|
||||||
|
inline void Remove(u32 keyHash) { _map.erase(keyHash); }
|
||||||
|
|
||||||
/// @brief Returns the number of items in the dictionary.
|
/// @brief Returns the number of items in the dictionary.
|
||||||
[[nodiscard]] inline size_t Count() const noexcept { return _map.size(); }
|
[[nodiscard]] inline size_t Count() const noexcept { return _map.size(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue