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()) {