| 20 | #include <mutex> |
| 21 | |
| 22 | struct HashedString |
| 23 | { |
| 24 | explicit HashedString(const char* s) |
| 25 | { |
| 26 | len = strlen(s); |
| 27 | hash = XXH64(s, len, 0); |
| 28 | str = s; |
| 29 | } |
| 30 | size_t hash; |
| 31 | size_t len; |
| 32 | const char* str; |
| 33 | }; |
| 34 | namespace std |
| 35 | { |
| 36 | template<> struct hash<HashedString> |
nothing calls this directly
no outgoing calls
no test coverage detected