[InvOpts] Folder View unordered opt pass

This commit is contained in:
Lirusaito
2019-03-22 02:10:43 -04:00
parent 5f1047c574
commit 9f23dcb0c4
8 changed files with 30 additions and 43 deletions

View File

@@ -158,7 +158,7 @@ public:
// children, and keeps track of selected objects.
virtual BOOL changeSelection(LLFolderViewItem* selection, BOOL selected);
virtual std::set<LLUUID> getSelectionList() const;
virtual std::unordered_set<LLUUID> getSelectionList() const;
// Make sure if ancestor is selected, descendants are not
void sanitizeSelection();
@@ -330,7 +330,7 @@ protected:
S32 mSignalSelectCallback;
S32 mMinWidth;
S32 mRunningHeight;
std::map<LLUUID, LLFolderViewItem*> mItemMap;
std::unordered_map<LLUUID, LLFolderViewItem*> mItemMap;
LLUUID mSelectThisID; // if non null, select this item
LLHandle<LLPanel> mParentPanel;