From 13ef2c35b2a64fa2551c73648ccdc23d8a28058d Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Sun, 13 Mar 2011 17:41:31 +0000 Subject: [PATCH] Fix usage of BOOST_PREVENT_MACRO_SUBSTITUTION --- Alpha_shapes_2/include/CGAL/Alpha_shape_2.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h b/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h index 426f6cb8264..c7b3bf80f02 100644 --- a/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h +++ b/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h @@ -909,14 +909,14 @@ Alpha_shape_2
::initialize_interval_vertex_map() // alpha_mid_v = (interval3.first != UNDEFINED) ? -// CGAL::min BOOST_PREVENT_MACRO_SUBSTITUTION (alpha_mid_v, interval3.first): -// CGAL::min BOOST_PREVENT_MACRO_SUBSTITUTION (alpha_mid_v, interval3.second); +// (CGAL::min)(alpha_mid_v, interval3.first): +// (CGAL::min)(alpha_mid_v, interval3.second); // if (alpha_max_v != Infinity) // { // alpha_max_v = (interval3.third != Infinity) ? -// CGAL::max BOOST_PREVENT_MACRO_SUBSTITUTION (alpha_max_v, interval3.third): +// (CGAL::max)(alpha_max_v, interval3.third): // Infinity; // } // } @@ -948,10 +948,10 @@ Alpha_shape_2
::initialize_interval_vertex_map() alpha_f = find_interval(f); // if we define singular as not incident to a 2-dimensional // face - alpha_mid_v = CGAL::min BOOST_PREVENT_MACRO_SUBSTITUTION (alpha_mid_v, alpha_f); + alpha_mid_v = (CGAL::min)(alpha_mid_v, alpha_f); if (alpha_max_v != Infinity) - alpha_max_v = CGAL::max BOOST_PREVENT_MACRO_SUBSTITUTION (alpha_max_v, alpha_f); + alpha_max_v = (CGAL::max)(alpha_max_v, alpha_f); } } @@ -1421,11 +1421,11 @@ Alpha_shape_2
::find_alpha_solid() const { Face_handle f = face_circ; if (! is_infinite(f)) - alpha_min_v = CGAL::min BOOST_PREVENT_MACRO_SUBSTITUTION(find_interval(f), - alpha_min_v); + alpha_min_v = (CGAL::min)(find_interval(f), + alpha_min_v); } while (++face_circ != done); - alpha_solid = CGAL::max BOOST_PREVENT_MACRO_SUBSTITUTION (alpha_min_v, alpha_solid); + alpha_solid = (CGAL::max)(alpha_min_v, alpha_solid); } return alpha_solid;