mirror of https://github.com/CGAL/cgal
simplify empty()
This commit is contained in:
parent
5ebfefe72c
commit
3204aeedf6
|
|
@ -74,7 +74,7 @@ namespace CGAL {
|
|||
/// returns `std::distance(begin(), end())==0`
|
||||
bool empty() const
|
||||
{
|
||||
return std::distance(begin(), end())==0;
|
||||
return begin()==end();
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue