Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sloriot committed Feb 19, 2024
1 parent 7109a28 commit bd1d232
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@ void find_best_flip_to_improve_dh(C3t3& c3t3,
{
typedef typename C3t3::Triangulation Tr;
typedef typename C3t3::Vertex_handle Vertex_handle;
typedef typename C3t3::Cell_handle Cell_handle;
typedef typename C3t3::Facet Facet;
typedef typename Tr::Facet_circulator Facet_circulator;
typedef typename Tr::Cell_circulator Cell_circulator;
Expand Down Expand Up @@ -1760,7 +1759,7 @@ std::size_t flipBoundaryEdges(
candidate_edges_for_flip.push_back(make_vertex_pair(e));
}

for (const auto [vh0, vh1] : candidate_edges_for_flip)
for (const auto& [vh0, vh1] : candidate_edges_for_flip)
{
boost::container::small_vector<Cell_handle, 64>& inc_vh0 = inc_cells[vh0];
if (inc_vh0.empty())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ bool edges_form_a_sharp_angle(const EdgesVector& incident_edges,
{
CGAL_assertion(incident_edges.size() == 2);

typedef typename EdgesVector::value_type Edge;
typedef typename C3t3::Vertex_handle Vertex_handle;

const std::array<Vertex_handle, 2> ev0
Expand Down

0 comments on commit bd1d232

Please sign in to comment.