From 7fac77d28e7031d76fec987d202b4e428d960558 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Tue, 31 Dec 2024 13:04:57 +0100 Subject: [PATCH] calling ctor --- 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 289d064a..2662a5a2 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -220,7 +220,7 @@ namespace netgen template // constexpr auto operator+ (Index ind, int i) { return TIndex(T(ind)+i); } - constexpr auto operator+ (Index ind, int i) { return TIndex(ind)+=i; } + constexpr auto operator+ (Index ind, int i) { return TIndex{ind}+=i; } template constexpr TIndex operator+ (Index pi, size_t i) { return TIndex(pi.i+i); } template