diff --git a/include/bx/hash.h b/include/bx/hash.h index 17225155..7582eb24 100644 --- a/include/bx/hash.h +++ b/include/bx/hash.h @@ -48,6 +48,12 @@ namespace bx mixTail(data, _len); } + template + void add(Ty _value) + { + add(&_value, sizeof(Ty) ); + } + uint32_t end() { mmix(m_hash, m_tail);