From ebde7519a8846fbe036767ef6dfef576977d8c05 Mon Sep 17 00:00:00 2001 From: Rye Date: Sat, 10 Jan 2026 04:54:56 -0500 Subject: Modernize std::type_info* usage in containers with std::type_index Introduce operator<< for std::type_index for logging output Utilize std::unordered_map inside llheteromap, llinitparam, llregistry Remove unused Comparator template parameter from LLRegistry --- indra/llui/llxuiparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llui/llxuiparser.cpp') diff --git a/indra/llui/llxuiparser.cpp b/indra/llui/llxuiparser.cpp index 8fd85a89a1..560bf0fc27 100644 --- a/indra/llui/llxuiparser.cpp +++ b/indra/llui/llxuiparser.cpp @@ -602,7 +602,7 @@ void LLXUIXSDWriter::writeXSD(const std::string& type_name, const std::string& p LLXSDWriter::writeXSD(type_name, root_nodep, block, "http://www.lindenlab.com/xui"); // add includes for all possible children - const std::type_info* type = *LLWidgetTypeRegistry::instance().getValue(type_name); + const std::type_index& type = *LLWidgetTypeRegistry::instance().getValue(type_name); const widget_registry_t* widget_registryp = LLChildRegistryRegistry::instance().getValue(type); // add choices for valid children -- cgit v1.3