Replace size() == 0 with is_empty().
This commit is contained in:
parent
c7ea8614d7
commit
4f4031a675
147 changed files with 300 additions and 300 deletions
|
|
@ -38,7 +38,7 @@ Line2D::Line2D() {
|
|||
|
||||
#ifdef DEBUG_ENABLED
|
||||
Rect2 Line2D::_edit_get_rect() const {
|
||||
if (_points.size() == 0) {
|
||||
if (_points.is_empty()) {
|
||||
return Rect2(0, 0, 0, 0);
|
||||
}
|
||||
Vector2 min = _points[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue