From 5bbc01a371640a8927b0d17da1918fd6358fb094 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Fri, 15 Dec 2023 12:05:27 -0500 Subject: [PATCH] Small boosty tweaks --- indra/llaudio/llaudiodecodemgr.cpp | 2 +- indra/newview/llperfstats.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index 7d1cf61bdf6..870c9d8d7c9 100644 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -555,7 +555,7 @@ class LLAudioDecodeMgr::Impl protected: std::deque<LLUUID> mDecodeQueue; - std::unordered_map<LLUUID, LLPointer<LLVorbisDecodeState>> mDecodes; + boost::unordered_map<LLUUID, LLPointer<LLVorbisDecodeState>> mDecodes; }; LLAudioDecodeMgr::Impl::Impl() diff --git a/indra/newview/llperfstats.h b/indra/newview/llperfstats.h index 33777abdbf2..ab09732133a 100644 --- a/indra/newview/llperfstats.h +++ b/indra/newview/llperfstats.h @@ -223,7 +223,7 @@ namespace LLPerfStats static void updateMeanFrameTime(U64 tot_frame_time_raw); // StatsArray is a uint64_t for each possible statistic type. using StatsArray = std::array<uint64_t, static_cast<size_t>(LLPerfStats::StatType_t::STATS_COUNT)>; - using StatsMap = std::unordered_map<LLUUID, StatsArray, boost::hash<LLUUID>>; + using StatsMap = boost::unordered_map<LLUUID, StatsArray>; using StatsTypeMatrix = std::array<StatsMap, static_cast<size_t>(LLPerfStats::ObjType_t::OT_COUNT)>; using StatsSummaryArray = std::array<StatsArray, static_cast<size_t>(LLPerfStats::ObjType_t::OT_COUNT)>; -- GitLab