diff --git a/src/Collections/Dictionary.hpp b/src/Collections/Dictionary.hpp index 5c793cf..3499109 100644 --- a/src/Collections/Dictionary.hpp +++ b/src/Collections/Dictionary.hpp @@ -61,6 +61,10 @@ namespace Arbutils::Collections { return true; } + inline void Remove(KeyT key){ + _map.erase(key); + } + [[nodiscard]] inline size_t Count() const { return _map.size(); } inline bool Has(KeyT key) const noexcept { return _map.find(key) != _map.end(); }