mirror of https://github.com/CGAL/cgal
fix warnings
This commit is contained in:
parent
404ee465df
commit
02db50ae4f
|
|
@ -932,7 +932,7 @@ private:
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
is_two_facets_neighbouring(const int & pid, const int &i, const int &j)const
|
is_two_facets_neighbouring(const unsigned int & pid, const unsigned int &i, const unsigned int &j)const
|
||||||
{
|
{
|
||||||
std::size_t facesize = halfspace[pid].size();
|
std::size_t facesize = halfspace[pid].size();
|
||||||
if (i == j) return false;
|
if (i == j) return false;
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@ private:
|
||||||
typedef typename boost::graph_traits<Triangle_mesh>::vertex_descriptor vertex_descriptor;
|
typedef typename boost::graph_traits<Triangle_mesh>::vertex_descriptor vertex_descriptor;
|
||||||
|
|
||||||
const Triangle_mesh& tm = profile.surface_mesh();
|
const Triangle_mesh& tm = profile.surface_mesh();
|
||||||
const Geom_traits& gt = profile.geom_traits();
|
|
||||||
|
|
||||||
m_vertices.reserve(num_vertices(tm));
|
m_vertices.reserve(num_vertices(tm));
|
||||||
m_faces.reserve(num_faces(tm));
|
m_faces.reserve(num_faces(tm));
|
||||||
|
|
|
||||||
|
|
@ -56,8 +56,8 @@ struct My_visitor : SMS::Edge_collapse_visitor_base<Surface>
|
||||||
// If cost is absent the edge won't be collapsed.
|
// If cost is absent the edge won't be collapsed.
|
||||||
void OnSelected(const Profile&,
|
void OnSelected(const Profile&,
|
||||||
boost::optional<double> cost,
|
boost::optional<double> cost,
|
||||||
std::size_t initial,
|
std::size_t /* initial */,
|
||||||
std::size_t current)
|
std::size_t /* current */)
|
||||||
{
|
{
|
||||||
++(stats->processed);
|
++(stats->processed);
|
||||||
if(!cost)
|
if(!cost)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue