fix.修复一些warning

This commit is contained in:
MistEO
2021-12-31 23:19:49 +08:00
parent 147a81c109
commit a2a9fd9d71
21 changed files with 81 additions and 71 deletions

View File

@@ -84,7 +84,7 @@ bool AbstractTask::save_image(const cv::Mat image, const std::string& dir)
bool asst::AbstractTask::need_exit() const
{
return m_exit_flag != NULL && *m_exit_flag == true;
return m_exit_flag != nullptr && *m_exit_flag == true;
}
void asst::AbstractTask::click_return_button()