| 224 | private: |
| 225 | typedef std::pair<uint64, string> Key; |
| 226 | struct KeyHash { |
| 227 | std::size_t operator()(const Key& k) const { |
| 228 | return Hash64(k.second.data(), k.second.size(), k.first); |
| 229 | } |
| 230 | }; |
| 231 | struct KeyEqual { |
| 232 | bool operator()(const Key& x, const Key& y) const { |
| 233 | return (x.second == y.second) && (x.first == y.first); |