diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-02-15 16:50:18 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-02-15 16:50:18 -0500 |
commit | 152f32918d15e9343658b728adaf1d5c8c3c3e10 (patch) | |
tree | b8d2b43ced92998ed70455f9c8543277e56f102c /indra/newview/llmaterialmgr.h | |
parent | e2496eff18315a82a82e50784c5959dfb038d02f (diff) |
SL-18330: Fix egregious existing build errors in contribute branch.
Diffstat (limited to 'indra/newview/llmaterialmgr.h')
-rw-r--r-- | indra/newview/llmaterialmgr.h | 7 |
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) |