added ability to replace existing entries in a LLRegistry

meow-7.2.2
Richard Nelson 2010-08-16 14:58:31 -07:00
parent e427c671f0
commit 720b29b1b4
1 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,11 @@ public:
mMap.erase(key);
}
void replace(ref_const_key_t key, ref_const_value_t value)
{
mMap[key] = value;
}
typename registry_map_t::const_iterator beginItems() const
{
return mMap.begin();