Boost::unordered is better than std::unordered, apparently
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user