Clang Tidy: Fix readability-delete-null-pointer warning

This commit is contained in:
Hans Goudey 2020-08-28 16:20:25 -05:00
parent 5c5d43fd66
commit f34653e498
1 changed files with 1 additions and 3 deletions

View File

@ -212,9 +212,7 @@ void Face::populate_plane(bool need_exact)
Face::~Face()
{
if (plane != nullptr) {
delete plane;
}
delete plane;
}
bool Face::operator==(const Face &other) const