summaryrefslogtreecommitdiff
path: root/src/support/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/hash.h')
-rw-r--r--src/support/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/hash.h b/src/support/hash.h
index d3a858698..fb0e710a5 100644
--- a/src/support/hash.h
+++ b/src/support/hash.h
@@ -29,7 +29,7 @@ template<typename T> inline std::size_t hash(const T& value) {
// Combines two digests into the first digest. Use instead of `rehash` if
// `otherDigest` is another digest and not a `size_t` value.
-static inline void hash_combine(std::size_t& digest, std::size_t otherDigest) {
+inline void hash_combine(std::size_t& digest, const std::size_t otherDigest) {
// see: boost/container_hash/hash.hpp
// The constant is the N-bits reciprocal of the golden ratio:
// phi = (1 + sqrt(5)) / 2