diff options
| author | Stefan Boberg <[email protected]> | 2021-05-24 20:55:02 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-05-24 20:55:02 +0200 |
| commit | a79cf191c8307ac9a68d1a912ae327c4aedc0fbe (patch) | |
| tree | 7e2ee22e6f0f7ed09f31c6cc7534046261d2aef1 | |
| parent | Added CidStore, currently used to track relationships between compressed and ... (diff) | |
| download | zen-a79cf191c8307ac9a68d1a912ae327c4aedc0fbe.tar.xz zen-a79cf191c8307ac9a68d1a912ae327c4aedc0fbe.zip | |
Added std::hash<IoHash> implementation for convenience
| -rw-r--r-- | zencore/include/zencore/iohash.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zencore/include/zencore/iohash.h b/zencore/include/zencore/iohash.h index 2c0c7d128..14049e2b2 100644 --- a/zencore/include/zencore/iohash.h +++ b/zencore/include/zencore/iohash.h @@ -100,3 +100,12 @@ private: }; } // namespace zen + +namespace std { + +template<> +struct hash<zen::IoHash> : public zen::IoHash::Hasher +{ +}; + +} // namespace std |