Remove unnecessary tests to delete
The delete operator can be called on a null pointer, so there's no reason for these tests.
Showing
想要评论请 注册 或 登录
The delete operator can be called on a null pointer, so there's no reason for these tests.