From 386edbf75e4d4d03ae1423d5368dfd0e97675e07 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Thu, 26 Dec 2024 20:56:49 +0100 Subject: [PATCH] t_size(-1) --- libsrc/core/hashtable.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.