diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-11 13:37:58 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-21 22:07:08 +0200 |
| commit | 28fee038e0e14e0538eefade38961e9ae1665d81 (patch) | |
| tree | 0193e4eda009a20212d537dc2e528f6ee864af43 /indra/newview/llpanelobjectinventory.cpp | |
| parent | c9286ffea7b47fb634d57585d0214ce4aa9c703e (diff) | |
Optimize inventory parsing and inventory panel creation using std::unordered_map and reduce temporaries during inventory parse
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
| -rw-r--r-- | indra/newview/llpanelobjectinventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index a31a54bb67..d27ce81e4f 100644 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -1830,7 +1830,7 @@ void LLPanelObjectInventory::onFocusReceived() LLFolderViewItem* LLPanelObjectInventory::getItemByID( const LLUUID& id ) { - std::map<LLUUID, LLFolderViewItem*>::iterator map_it = mItemMap.find(id); + auto map_it = mItemMap.find(id); if (map_it != mItemMap.end()) { return map_it->second; |
