We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ef0a1 commit f60b2d7Copy full SHA for f60b2d7
include/cppcore/Common/Hash.h
@@ -101,7 +101,6 @@ inline THash<T>::THash(T value, T base) :
101
102
template <class T>
103
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.");
105
T hash = 0;
106
if (nullptr == buffer) {
107
return hash;
0 commit comments