diff --git a/Snap_rounding_2/include/CGAL/Float_snap_rounding_2.h b/Snap_rounding_2/include/CGAL/Float_snap_rounding_2.h index 6122970d19a..66d1630fdcc 100644 --- a/Snap_rounding_2/include/CGAL/Float_snap_rounding_2.h +++ b/Snap_rounding_2/include/CGAL/Float_snap_rounding_2.h @@ -185,7 +185,7 @@ void snap_rounding_scan(PointsRange &pts, PolylineRange &polylines, const Traits if(possibly(csq_dist_2(p, seg, bound)!=CGAL::LARGER)) { - if (std::is_same_v) + if constexpr (std::is_same_v) { internal::Evaluate evaluate; // We refine the pts to reduce the rounding shift and check again