From 720b29b1b42fb16ecff835bc1a103bc66499ab94 Mon Sep 17 00:00:00 2001
From: Richard Nelson <none@none>
Date: Mon, 16 Aug 2010 14:58:31 -0700
Subject: [PATCH] added ability to replace existing entries in a LLRegistry

---
 indra/llxuixml/llregistry.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/indra/llxuixml/llregistry.h b/indra/llxuixml/llregistry.h
index 2c04d8c4197..53d4ac8e34d 100644
--- a/indra/llxuixml/llregistry.h
+++ b/indra/llxuixml/llregistry.h
@@ -76,6 +76,11 @@ class LLRegistry
 			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();
-- 
GitLab