corrected constness in foreachface
This commit is contained in:
parent
992ab0ca2e
commit
288d86b160
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue