summaryrefslogtreecommitdiff
path: root/indra/llxuixml
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-08-16 14:58:31 -0700
committerRichard Nelson <none@none>2010-08-16 14:58:31 -0700
commit720b29b1b42fb16ecff835bc1a103bc66499ab94 (patch)
tree4b4c61d8fa9d679318e3fed2e778d4a96c2ef5a3 /indra/llxuixml
parente427c671f036de1addf90fa9a2ed09035b099392 (diff)
added ability to replace existing entries in a LLRegistry
Diffstat (limited to 'indra/llxuixml')
-rw-r--r--indra/llxuixml/llregistry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llxuixml/llregistry.h b/indra/llxuixml/llregistry.h
index 2c04d8c419..53d4ac8e34 100644
--- a/indra/llxuixml/llregistry.h
+++ b/indra/llxuixml/llregistry.h
@@ -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();