msg: blobhash on entity_name_t causes strange badness... should look into that, but avoid for now

This commit is contained in:
Sage Weil 2008-01-28 21:24:38 -08:00
parent 39d2a25ddf
commit 204c175eea

View File

@ -89,8 +89,7 @@ namespace __gnu_cxx {
{
size_t operator()( const entity_name_t m ) const
{
static blobhash H;
return H((const char*)&m, sizeof(m));
return rjhash32(m.v.type) ^ rjhash32(m.v.num);
}
};
}