From 288d86b160645e22fa4d66eb2b83ecc1f4b055b6 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Mon, 18 Sep 2017 11:25:02 +0200 Subject: [PATCH] corrected constness in foreachface --- vcg/complex/foreach.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/foreach.h b/vcg/complex/foreach.h index 15180e5c..530a63fd 100644 --- a/vcg/complex/foreach.h +++ b/vcg/complex/foreach.h @@ -80,7 +80,7 @@ inline void ForEachFace(const MeshType &m, std::function -inline void ForEachFace(const MeshType &m, std::function action) +inline void ForEachFace(MeshType &m, std::function action) { if(m.fn == (int) m.face.size()) {