From 3b69cbda8bddfaad746ffb77494a049b34e82f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 26 Oct 2015 09:36:18 +0100 Subject: [PATCH] first msvc warnings --- .../include/CGAL/internal/Polyhedron_plane_clipping_3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Operations_on_polyhedra/include/CGAL/internal/Polyhedron_plane_clipping_3.h b/Operations_on_polyhedra/include/CGAL/internal/Polyhedron_plane_clipping_3.h index 5b516dcac15..b8273be24bf 100644 --- a/Operations_on_polyhedra/include/CGAL/internal/Polyhedron_plane_clipping_3.h +++ b/Operations_on_polyhedra/include/CGAL/internal/Polyhedron_plane_clipping_3.h @@ -206,7 +206,7 @@ struct Edge_is_marked4coref{ {} friend reference get(Edge_is_marked4coref& map,const key_type& key) { - return map.marked_halfedges.count(key.first); + return map.marked_halfedges.count(key.first)!=0; } friend void put(Edge_is_marked4coref& map,key_type key,value_type v) { if (v) map.marked_halfedges.insert(key.first); @@ -228,7 +228,7 @@ struct Edge_is_marked{ {} friend reference get(const Edge_is_marked& map,const key_type& key) { - return map.marked_halfedges->count(key.halfedge()); + return map.marked_halfedges->count(key.halfedge())!=0; } };