Boost::unordered is better than std::unordered, apparently

This commit is contained in:
Lirusaito
2019-03-27 22:28:29 -04:00
parent 6d1e9ee3d4
commit 90e9bce8de
13 changed files with 37 additions and 36 deletions

View File

@@ -54,6 +54,8 @@
#include "lltooldraganddrop.h"
#include "llviewertexture.h"
#include <boost/unordered_map.hpp>
class LLFolderViewEventListener;
class LLFolderViewGroupedItemModel;
class LLFolderViewFolder;
@@ -158,7 +160,7 @@ public:
// children, and keeps track of selected objects.
virtual BOOL changeSelection(LLFolderViewItem* selection, BOOL selected);
virtual std::unordered_set<LLUUID> getSelectionList() const;
virtual boost::unordered_set<LLUUID> getSelectionList() const;
// Make sure if ancestor is selected, descendants are not
void sanitizeSelection();
@@ -330,7 +332,7 @@ protected:
S32 mSignalSelectCallback;
S32 mMinWidth;
S32 mRunningHeight;
std::unordered_map<LLUUID, LLFolderViewItem*> mItemMap;
boost::unordered_map<LLUUID, LLFolderViewItem*> mItemMap;
LLUUID mSelectThisID; // if non null, select this item
LLHandle<LLPanel> mParentPanel;