Skip to content

Commit f60b2d7

Browse files
authored
Update Hash.h
1 parent d3ef0a1 commit f60b2d7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/cppcore/Common/Hash.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ inline THash<T>::THash(T value, T base) :
101101

102102
template <class T>
103103
inline T THash<T>::toHash(const char *buffer, T base) {
104-
static_assert(std::is_integral<T>::value, "THash requires T to be an integral type.");
105104
T hash = 0;
106105
if (nullptr == buffer) {
107106
return hash;

0 commit comments

Comments
 (0)