diff --git a/engine/source/runtime/core/base/hash.h b/engine/source/runtime/core/base/hash.h index 9ca6ffb71..2446bc772 100644 --- a/engine/source/runtime/core/base/hash.h +++ b/engine/source/runtime/core/base/hash.h @@ -13,7 +13,7 @@ template inline void hash_combine(std::size_t& seed, const T& v, Ts... rest) { hash_combine(seed, v); - if constexpr (sizeof...(Ts) > 1) + if constexpr (sizeof...(Ts) > 0) { hash_combine(seed, rest...); }