summaryrefslogtreecommitdiff
path: root/indra/newview/llgltfmateriallist.h
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2022-10-18 21:01:38 -0700
committerBrad Kittenbrink <brad@lindenlab.com>2022-10-18 21:01:38 -0700
commitf575c139300a6c53fa13dd0d7cbfbaa739e2b4b0 (patch)
tree275bfb18578574f0c6805bab2027ddfcf77a5afa /indra/newview/llgltfmateriallist.h
parent9e5c0877c5bc94adace4376ffc9c0c902031f38b (diff)
Better fix for mac/xcode compatibility problem in SL-18391. Keep using unordered_map
Diffstat (limited to 'indra/newview/llgltfmateriallist.h')
-rw-r--r--indra/newview/llgltfmateriallist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llgltfmateriallist.h b/indra/newview/llgltfmateriallist.h
index 3d97baf5f8..4b905e32c9 100644
--- a/indra/newview/llgltfmateriallist.h
+++ b/indra/newview/llgltfmateriallist.h
@@ -30,7 +30,7 @@
#include "llgltfmaterial.h"
#include "llpointer.h"
-#include <map>
+#include <unordered_map>
class LLFetchedGLTFMaterial;
@@ -49,7 +49,7 @@ public:
static void registerCallbacks();
private:
- typedef std::map<LLUUID, LLPointer<LLFetchedGLTFMaterial > > uuid_mat_map_t;
+ typedef std::unordered_map<LLUUID, LLPointer<LLFetchedGLTFMaterial > > uuid_mat_map_t;
uuid_mat_map_t mList;
LLUUID mLastUpdateKey;