From e6237cdb8b57b10922973ac933a1daa35ddaf7a1 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 7 Jul 2009 16:04:31 +0000 Subject: [PATCH] Get rid of VC++ warning --- .../CGAL/Voronoi_diagram_2/Cached_degeneracy_testers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Cached_degeneracy_testers.h b/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Cached_degeneracy_testers.h index a667b69dbb3..5166bc04bf1 100644 --- a/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Cached_degeneracy_testers.h +++ b/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Cached_degeneracy_testers.h @@ -202,7 +202,7 @@ public: bool operator()(const Delaunay_graph& dual, const Edge& e) const { if ( dual.dimension() < 2 ) { return false; } if ( emap.is_defined(e) && emap[e] != UNDEFINED ) { - return emap[e]; + return (emap[e] == True); } bool b = e_rejector(dual, e); @@ -385,7 +385,7 @@ public: bool operator()(const Delaunay_graph& dual, const Vertex_handle& v) const { if ( dual.dimension() < 2 ) { return false; } - if ( vmap.is_defined(v) && vmap[v] != UNDEFINED ) { return vmap[v]; } + if ( vmap.is_defined(v) && vmap[v] != UNDEFINED ) { return (vmap[v] == True); } bool b = f_rejector(dual, v); Three_valued b3 = (b ? True : False);