summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialmgr.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-02-15 16:50:18 -0500
committerNat Goodspeed <nat@lindenlab.com>2023-02-15 16:50:18 -0500
commit152f32918d15e9343658b728adaf1d5c8c3c3e10 (patch)
treeb8d2b43ced92998ed70455f9c8543277e56f102c /indra/newview/llmaterialmgr.h
parente2496eff18315a82a82e50784c5959dfb038d02f (diff)
SL-18330: Fix egregious existing build errors in contribute branch.
Diffstat (limited to 'indra/newview/llmaterialmgr.h')
-rw-r--r--indra/newview/llmaterialmgr.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llmaterialmgr.h b/indra/newview/llmaterialmgr.h
index 00b3321737..8f1ec8584b 100644
--- a/indra/newview/llmaterialmgr.h
+++ b/indra/newview/llmaterialmgr.h
@@ -82,7 +82,7 @@ private:
void onPutResponse(bool success, const LLSD& content);
void onRegionRemoved(LLViewerRegion* regionp);
-public:
+private:
// struct for TE-specific material ID query
class TEMaterialPair
{
@@ -94,7 +94,10 @@ public:
bool operator==(const TEMaterialPair& b) const { return (materialID == b.materialID) && (te == b.te); }
};
-private:
+ // definitions follow class
+ friend std::hash<TEMaterialPair>;
+ friend size_t hash_value(const TEMaterialPair&) noexcept;
+
friend inline bool operator<(
const LLMaterialMgr::TEMaterialPair& lhs,
const LLMaterialMgr::TEMaterialPair& rhs)