diff --git a/libsrc/core/hashtable.hpp b/libsrc/core/hashtable.hpp index 1c1ac7c6..c7aa0b93 100644 --- a/libsrc/core/hashtable.hpp +++ b/libsrc/core/hashtable.hpp @@ -593,7 +593,7 @@ namespace ngcore template - constexpr inline T InvalidHash() { return T{-1}; } + constexpr inline T InvalidHash() { return T(-1); } /** A closed hash-table.