diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-10 04:54:56 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-21 22:07:08 +0200 |
| commit | ebde7519a8846fbe036767ef6dfef576977d8c05 (patch) | |
| tree | a475b0dfed0bc7aeb025813b1b8ea9778d4ea067 /indra/llui/llrngwriter.cpp | |
| parent | 0e687a83b5bd3fd0b33f7e9a5f5955391ec2d5e5 (diff) | |
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
Diffstat (limited to 'indra/llui/llrngwriter.cpp')
| -rw-r--r-- | indra/llui/llrngwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llrngwriter.cpp b/indra/llui/llrngwriter.cpp index 1b4008cff2..5b0d2315c1 100644 --- a/indra/llui/llrngwriter.cpp +++ b/indra/llui/llrngwriter.cpp @@ -94,7 +94,7 @@ void LLRNGWriter::addDefinition(const std::string& type_name, const LLInitParam: block.inspectBlock(*this); // 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 include declarations for all valid children |
