diff options
| author | Richard Nelson <none@none> | 2010-08-16 14:58:31 -0700 | 
|---|---|---|
| committer | Richard Nelson <none@none> | 2010-08-16 14:58:31 -0700 | 
| commit | 720b29b1b42fb16ecff835bc1a103bc66499ab94 (patch) | |
| tree | 4b4c61d8fa9d679318e3fed2e778d4a96c2ef5a3 | |
| parent | e427c671f036de1addf90fa9a2ed09035b099392 (diff) | |
added ability to replace existing entries in a LLRegistry
| -rw-r--r-- | indra/llxuixml/llregistry.h | 5 | 
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();  | 
