mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
style: format
This commit is contained in:
@@ -595,7 +595,7 @@ bool asst::Controller::screencap()
|
||||
}
|
||||
size_t header_size = data.size() - std_size;
|
||||
bool is_all_zero =
|
||||
std::all_of(data.data() + header_size, data.data() + std_size, std::logical_not<bool>{});
|
||||
std::all_of(data.data() + header_size, data.data() + std_size, std::logical_not<bool>{});
|
||||
if (is_all_zero) {
|
||||
return false;
|
||||
}
|
||||
@@ -620,7 +620,7 @@ bool asst::Controller::screencap()
|
||||
}
|
||||
size_t header_size = unzip_data.size() - std_size;
|
||||
bool is_all_zero =
|
||||
std::all_of(unzip_data.data() + header_size, unzip_data.data() + std_size, std::logical_not<bool>{});
|
||||
std::all_of(unzip_data.data() + header_size, unzip_data.data() + std_size, std::logical_not<bool>{});
|
||||
if (is_all_zero) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -28,8 +28,6 @@ bool asst::InfrastDormTask::_run()
|
||||
|
||||
click_confirm_button();
|
||||
click_return_button();
|
||||
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -118,7 +116,6 @@ bool asst::InfrastDormTask::opers_choose()
|
||||
else {
|
||||
swipe_of_operlist();
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,5 @@ namespace asst
|
||||
int m_cur_dorm_index = 0;
|
||||
int m_max_num_of_dorm = 4;
|
||||
int m_finished_stage = 0;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user