mirror of https://github.com/CGAL/cgal
fix automatic conversion to bool warning
This commit is contained in:
parent
d2c88507e7
commit
f51fe6052f
|
|
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue