base/hashmap.hh:
Not all machines need these extra hash functions
also make Counter int64_t since that's really what is needed
--HG--
extra : convert_revision :
b5b5d65db157d01d76adbf4de4882b1516c9f2e7
//
namespace __hash_namespace {
+#if !defined(__LP64__)
template<>
struct hash<uint64_t> {
size_t operator()(uint64_t r) const {
};
template<>
- struct hash<Counter> {
- size_t operator()(Counter r) const {
+ struct hash<int64_t> {
+ size_t operator()(int64_t r) const {
return r;
};
};
+#endif
template<>
struct hash<std::string> {