diff --git a/include/bx/hash.h b/include/bx/hash.h index 1722515..7582eb2 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);