From 5642d435e12614f9d6dfc355ec304aaaaaf6c487 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Mon, 6 Jan 2025 18:33:44 +0100 Subject: [PATCH] missing constexpr --- libsrc/meshing/meshtype.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/meshtype.hpp b/libsrc/meshing/meshtype.hpp index 7826be20..f2413a61 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -187,7 +187,7 @@ namespace netgen constexpr TIndex operator-= (int add) { i -= add; return TIndex{*this}; } constexpr TIndex operator-= (size_t add) { i -= add; return TIndex{*this}; } - auto operator- (Index i2) const { return i-i2.i; } + constexpr auto operator- (Index i2) const { return i-i2.i; } // bool operator== (Index i2) const { return i==i2.i; } // bool operator!= (Index i2) const { return i!=i2.i; }