fix warnings

This commit is contained in:
Sébastien Loriot 2016-03-02 20:10:39 +01:00
parent fbe36bc8c0
commit c3854cb656
2 changed files with 2 additions and 3 deletions

View File

@ -86,10 +86,10 @@ namespace internal {
typedef value_type& reference;
typedef boost::read_write_property_map_tag category;
friend bool get(const No_constraint_pmap& map, const key_type& e) {
friend bool get(const No_constraint_pmap& , const key_type& ) {
return false;
}
friend void put(No_constraint_pmap& map, const key_type& e, const bool is) {}
friend void put(No_constraint_pmap& , const key_type& , const bool ) {}
};
template <typename PM, typename FaceRange>

View File

@ -229,7 +229,6 @@ void split_long_edges(const EdgeRange& edges
, const NamedParameters& np)
{
typedef PolygonMesh PM;
typedef typename boost::graph_traits<PM>::face_descriptor face_descriptor;
typedef typename boost::graph_traits<PM>::edge_descriptor edge_descriptor;
typedef typename boost::graph_traits<PM>::vertex_descriptor vertex_descriptor;
using boost::choose_pmap;