diff --git a/src/search.cpp b/src/search.cpp index 6262a7ea4..5a43cad0d 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -488,6 +488,7 @@ inline void hash_combine(std::size_t& seed, const T& v) { seed = b * kMul; } #elif __SIZEOF_SIZE_T__ == 4 +template inline void hash_combine(std::size_t& seed, const T& v) { std::hash hasher; const std::size_t kMul = 0x9e3779b9;