Clang Tidy: Fix readability-delete-null-pointer warning
This commit is contained in:
parent
5c5d43fd66
commit
f34653e498
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue