commit c6a433a779e9ff3dc3599b4a88a692383c32e142 parent f64cf5d7b058b9e1e215a58dc70b44e134d6c9e8 Author: Michael Savage <mikejsavage@gmail.com> Date: Tue, 6 Nov 2018 21:42:41 +0200 Remove fnv1a template Diffstat:
fnv.h | | | 5 | ----- |
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/fnv.h b/fnv.h @@ -18,8 +18,3 @@ forceinline u64 fnv1a( const void * data, size_t n ) { forceinline u64 fnv1a( const array< u8 > a ) { return fnv1a( a.ptr(), a.num_bytes() ); } - -template< typename T > -forceinline u64 fnv1a( const T & x ) { - return fnv1a( &x, sizeof( x ) ); -}