fix automatic conversion to bool warning

This commit is contained in:
Jane Tournois 2020-05-26 15:00:06 +02:00
parent d2c88507e7
commit f51fe6052f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public:
{ {
CGAL_assertion(map.m_set_ptr != NULL); CGAL_assertion(map.m_set_ptr != NULL);
CGAL_assertion(k.first < k.second); CGAL_assertion(k.first < k.second);
return map.m_set_ptr->count(k); return (map.m_set_ptr->count(k) > 0);
} }
}; };