fix errors and warnings

This commit is contained in:
Sébastien Loriot 2018-11-07 11:03:04 +01:00
parent 3f236f0a18
commit 1e6f408f2f
2 changed files with 2 additions and 2 deletions

View File

@ -913,7 +913,7 @@ public:
* @param[out] face_proxy_map face proxy index map * @param[out] face_proxy_map face proxy index map
*/ */
template <typename FaceProxyMap> template <typename FaceProxyMap>
void proxy_map(FaceProxyMap &face_proxy_map) const { void proxy_map(FaceProxyMap face_proxy_map) const {
BOOST_FOREACH(face_descriptor f, faces(*m_ptm)) BOOST_FOREACH(face_descriptor f, faces(*m_ptm))
face_proxy_map[f] = get(m_fproxy_map, f); face_proxy_map[f] = get(m_fproxy_map, f);
} }

View File

@ -10,7 +10,7 @@
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel; typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef CGAL::Surface_mesh<Kernel::Point_3> Mesh; typedef CGAL::Surface_mesh<Kernel::Point_3> Mesh;
typedef typename boost::graph_traits<Mesh>::face_descriptor face_descriptor; typedef boost::graph_traits<Mesh>::face_descriptor face_descriptor;
typedef Mesh::Property_map<face_descriptor, std::size_t> Face_proxy_pmap; typedef Mesh::Property_map<face_descriptor, std::size_t> Face_proxy_pmap;
/** /**