| 14 | namespace Valdi { |
| 15 | |
| 16 | static size_t makePHMapHash(size_t hash) { |
| 17 | // Same function used by phmap internally, so that the find variant |
| 18 | // that takes a hash parameter matches what the hasher function does. |
| 19 | return phmap::phmap_mix<sizeof(size_t)>()(hash); |
| 20 | } |
| 21 | |
| 22 | std::size_t StringCacheHash::operator()(const StringCacheEntry& entry) const { |
| 23 | return entry.impl->getHash(); |
no outgoing calls
no test coverage detected