Harmless warning (unused parameter)

This commit is contained in:
Paolo Cignoni 2014-02-19 13:21:31 +00:00
parent b2e97b9134
commit 85c5274965
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ template <class MeshType> void RequireCompactness (MeshType &m) {
if(m.face.size()!=size_t(m.fn)) throw vcg::MissingCompactnessException("Face Vector Contains deleted elements");
}
template <class MeshType> void RequireTriangularMesh (MeshType &m) { if(typename MeshType::FaceType::HasPolyInfo()) throw vcg::MissingTriangularRequirementException("");}
template <class MeshType> void RequireTriangularMesh (MeshType & ) { if(typename MeshType::FaceType::HasPolyInfo()) throw vcg::MissingTriangularRequirementException("");}
template <class MeshType> void RequireVFAdjacency (MeshType &m) { if(!tri::HasVFAdjacency (m)) throw vcg::MissingComponentException("VFAdjacency"); }
template <class MeshType> void RequireVEAdjacency (MeshType &m) { if(!tri::HasVEAdjacency (m)) throw vcg::MissingComponentException("VEAdjacency"); }