From 527a987649b278ee02d5e688710bf38c0d62c5e8 Mon Sep 17 00:00:00 2001 From: Bruno Levy Date: Fri, 3 Mar 2023 15:36:52 +0100 Subject: [PATCH] Fixed warning (param name shadowing) --- src/lib/geogram/delaunay/CDT_2d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/geogram/delaunay/CDT_2d.cpp b/src/lib/geogram/delaunay/CDT_2d.cpp index 6f9171a77471..157496e5d6c2 100644 --- a/src/lib/geogram/delaunay/CDT_2d.cpp +++ b/src/lib/geogram/delaunay/CDT_2d.cpp @@ -952,8 +952,8 @@ namespace GEO { index_t v1, index_t v2, const DList& Q ) { std::set I; - auto make_edge = [](index_t v1, index_t v2)->Edge { - return std::make_pair(std::min(v1,v2), std::max(v1,v2)); + auto make_edge = [](index_t w1, index_t w2)->Edge { + return std::make_pair(std::min(w1,w2), std::max(w1,w2)); }; for(index_t t=Q.front(); t!=index_t(-1); t = Q.next(t)) { geo_assert(segment_edge_intersect(v1,v2,t,0));