mirror of https://github.com/CGAL/cgal
Merge pull request #5052 from maxGimeno/CGAL-Fix_warnings_5_1-maxGimeno
Fixes for warnings in 5.1
This commit is contained in:
commit
7c4a61e27a
|
|
@ -1177,7 +1177,7 @@ std::size_t flip_all_edges(const std::vector<VertexPair>& edges,
|
||||||
boost::optional<boost::container::small_vector<Cell_handle, 64> > > inc_cells;
|
boost::optional<boost::container::small_vector<Cell_handle, 64> > > inc_cells;
|
||||||
|
|
||||||
std::size_t count = 0;
|
std::size_t count = 0;
|
||||||
for (const VertexPair vp : edges)
|
for (const VertexPair& vp : edges)
|
||||||
{
|
{
|
||||||
boost::optional<boost::container::small_vector<Cell_handle, 64>>&
|
boost::optional<boost::container::small_vector<Cell_handle, 64>>&
|
||||||
o_inc_vh = inc_cells[vp.first];
|
o_inc_vh = inc_cells[vp.first];
|
||||||
|
|
|
||||||
|
|
@ -543,7 +543,7 @@ public:
|
||||||
const Vector_3 current_pos(CGAL::ORIGIN, point(v->point()));
|
const Vector_3 current_pos(CGAL::ORIGIN, point(v->point()));
|
||||||
|
|
||||||
const std::vector<Surface_patch_index>& v_surface_indices = vertices_surface_indices[v];
|
const std::vector<Surface_patch_index>& v_surface_indices = vertices_surface_indices[v];
|
||||||
for (const Surface_patch_index si : v_surface_indices)
|
for (const Surface_patch_index& si : v_surface_indices)
|
||||||
{
|
{
|
||||||
//Check if the mls surface exists to avoid degenerated cases
|
//Check if the mls surface exists to avoid degenerated cases
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue