Fix warnings with -std=c++98 -pedantic

This commit is contained in:
Laurent Rineau 2009-12-09 09:53:05 +00:00
parent 7635f9f32a
commit 55351bcadf
3 changed files with 6 additions and 6 deletions

View File

@ -100,7 +100,7 @@ enum Arr_boundary_type {
ARR_OPEN, ARR_OPEN,
ARR_CLOSED, ARR_CLOSED,
ARR_CONTRACTION, ARR_CONTRACTION,
ARR_IDENTIFICATION, ARR_IDENTIFICATION
}; };
//! \brief prints boundary type (for debugging) //! \brief prints boundary type (for debugging)

View File

@ -43,10 +43,10 @@ struct Arr_closed_side_tag : public virtual Arr_boundary_side_tag {};
struct Arr_contracted_side_tag : public virtual Arr_boundary_side_tag {}; struct Arr_contracted_side_tag : public virtual Arr_boundary_side_tag {};
struct Arr_identified_side_tag : public virtual Arr_boundary_side_tag {}; struct Arr_identified_side_tag : public virtual Arr_boundary_side_tag {};
BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_left_side_category); BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_left_side_category)
BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_bottom_side_category); BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_bottom_side_category)
BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_top_side_category); BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_top_side_category)
BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_right_side_category); BOOST_MPL_HAS_XXX_TRAIT_DEF(Arr_right_side_category)
namespace internal { namespace internal {

View File

@ -378,7 +378,7 @@ void insert_non_empty(Arrangement_on_surface_2<GeomTraits, TopTraits>& arr,
typename Insert_visitor::Event> typename Insert_visitor::Event>
sweep_line(&traits, &visitor); sweep_line(&traits, &visitor);
sweep_line.sweep(ex_cvs.begin(), ex_cvs.end(),ex_pts.begin(), ex_pts.end()); sweep_line.sweep(ex_cvs.begin(), ex_cvs.end(),ex_pts.begin(), ex_pts.end());
}; }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Insert a range of curves into the arrangement (aggregated insertion). // Insert a range of curves into the arrangement (aggregated insertion).