Skip to content

Commit

Permalink
Disable call to hash function I haven't committed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
emfrias committed Apr 6, 2014
1 parent 0d26c5c commit d9e4234
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/net/include/bts/net/core_messages.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ namespace std
{
size_t operator()(const bts::net::item_id& item_to_hash) const
{
#if defined(_M_X64) || defined(__x86_64__)
//#if defined(_M_X64) || defined(__x86_64__)
return fc::city_hash64((char*)&item_to_hash, sizeof(item_to_hash));
#else
return fc::city_hash32((char*)&item_to_hash, sizeof(item_to_hash));
#endif
//#else
// return fc::city_hash32((char*)&item_to_hash, sizeof(item_to_hash));
//#endif
}
};
}

0 comments on commit d9e4234

Please sign in to comment.