corrected constness in foreachface

This commit is contained in:
Paolo Cignoni 2017-09-18 11:25:02 +02:00
parent 992ab0ca2e
commit 288d86b160
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ inline void ForEachFace(const MeshType &m, std::function<void (const typename Me
}
template <class MeshType>
inline void ForEachFace(const MeshType &m, std::function<void (typename MeshType::FaceType &)> action)
inline void ForEachFace(MeshType &m, std::function<void (typename MeshType::FaceType &)> action)
{
if(m.fn == (int) m.face.size())
{