diff options
author | rtk0c <[email protected]> | 2022-06-27 18:27:13 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-27 18:27:13 -0700 |
commit | 8f0dda5eab181b0f14f2652b4e984aaaae3f258c (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /core/src/Utils/Hash.hpp | |
parent | fad6a88a13ab1f888ab25ad0aae19c1d63aa0623 (diff) |
Start from a clean slate
Diffstat (limited to 'core/src/Utils/Hash.hpp')
-rw-r--r-- | core/src/Utils/Hash.hpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/core/src/Utils/Hash.hpp b/core/src/Utils/Hash.hpp deleted file mode 100644 index cf7713a..0000000 --- a/core/src/Utils/Hash.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once - -#include <cstddef> -#include <functional> - -namespace HashUtils { - -template <class T> -void Combine(size_t& seed, const T& v) -{ - std::hash<T> hasher; - seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2); -} - -} // namespace HashUtils |