MCPcopy Create free account
hub / github.com/Snapchat/Valdi / operator()

Method operator()

valdi_core/src/valdi_core/cpp/Resources/ResourceId.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59namespace std {
60
61std::size_t hash<Valdi::ResourceId>::operator()(const Valdi::ResourceId& k) const {
62 std::size_t hash = 0;
63 boost::hash_combine(hash, k.bundleName.hash());
64 boost::hash_combine(hash, k.resourcePath.hash());
65
66 return hash;
67}
68
69} // namespace std

Callers

nothing calls this directly

Calls 2

hash_combineFunction · 0.85
hashMethod · 0.45

Tested by

no test coverage detected