From 6c17b5008ccffb891bee0599236ec59d4ceeaab6 Mon Sep 17 00:00:00 2001 From: iasonmanolas Date: Tue, 9 Feb 2021 20:03:26 +0200 Subject: [PATCH] Refactoring --- vcg/simplex/tetrahedron/pos.h | 2 +- wrap/nanoply/include/nanoply.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vcg/simplex/tetrahedron/pos.h b/vcg/simplex/tetrahedron/pos.h index c9ed4629..005de26a 100644 --- a/vcg/simplex/tetrahedron/pos.h +++ b/vcg/simplex/tetrahedron/pos.h @@ -380,7 +380,7 @@ public: void Assert() #ifdef _DEBUG { - HETYPE ht=*this; + auto ht=*this; ht.FlipT(); ht.FlipT(); assert(ht==*this); diff --git a/wrap/nanoply/include/nanoply.hpp b/wrap/nanoply/include/nanoply.hpp index d35473a6..5a213560 100644 --- a/wrap/nanoply/include/nanoply.hpp +++ b/wrap/nanoply/include/nanoply.hpp @@ -30,6 +30,7 @@ #include #include #include +#include // Avoid conflicting declaration of min/max macros in windows headers