From c0080ae62e17816f39e5f56d58dd068479716890 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Thu, 26 Dec 2024 20:36:57 +0100 Subject: [PATCH] too much constexpr --- libsrc/general/template.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/general/template.hpp b/libsrc/general/template.hpp index f8fccddf..2083c93b 100644 --- a/libsrc/general/template.hpp +++ b/libsrc/general/template.hpp @@ -482,12 +482,12 @@ namespace ngcore namespace netgen { - constexpr inline size_t HashValue2 (const netgen::INDEX_2 & ind, size_t mask) + inline size_t HashValue2 (const netgen::INDEX_2 & ind, size_t mask) { return HashValue2(IVec<2,netgen::INDEX>(ind[0], ind[1]), mask); } - constexpr inline size_t HashValue2 (const netgen::INDEX_3 & ind, size_t mask) + inline size_t HashValue2 (const netgen::INDEX_3 & ind, size_t mask) { return HashValue2(IVec<3,netgen::INDEX>(ind[0], ind[1], ind[2]), mask); }