hash: ensure all values passed to mix
are of the same type
This commit is contained in:
parent
b2abc7e7f8
commit
61ac466161
2
hash.hpp
2
hash.hpp
@ -30,7 +30,7 @@ namespace cruft::hash {
|
|||||||
|
|
||||||
template <typename ValueT, typename ...ArgsT>
|
template <typename ValueT, typename ...ArgsT>
|
||||||
constexpr ValueT
|
constexpr ValueT
|
||||||
mix (ValueT &&head, ValueT &&tail, ArgsT&&...args)
|
mix (ValueT head, ValueT tail, ArgsT&&...args)
|
||||||
{
|
{
|
||||||
return mix (
|
return mix (
|
||||||
mix (
|
mix (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user