Skip to content
Snippets Groups Projects
Commit 31b6f82d authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Cleanup

parent ba7e84c9
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ class LL_COMMON_API LLUUID
friend std::size_t hash_value(LLUUID const& id)
{
return boost::hash_range(id.mData, id.mData + UUID_BYTES);
return boost::hash_value(id.mData);
}
// xor functions. Useful since any two random uuids xored together
......@@ -281,7 +281,7 @@ namespace std {
{
size_t operator()(const LLUUID & id) const
{
return boost::hash_range(id.mData, id.mData + UUID_BYTES);
return boost::hash_value(id.mData);
}
};
}
......
......@@ -140,7 +140,7 @@ class LLMaterialID
friend std::size_t hash_value(LLMaterialID const& id)
{
return boost::hash_range(id.mID, id.mID + MATERIAL_ID_SIZE);
return boost::hash_value(id.mID);
}
// END BOOST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment