mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 10:32:19 +08:00
chore: 修复Clang/GCC编译警告
This commit is contained in:
@@ -176,7 +176,7 @@ bool asst::SSSBattleProcessTask::check_if_start_over(const battle::copilot::Acti
|
||||
cur_counts[oper.role] += 1;
|
||||
}
|
||||
for (const auto& [role, number] : action.role_counts) {
|
||||
if (cur_counts[role] < number) {
|
||||
if (cur_counts[role] < static_cast<size_t>(number)) {
|
||||
to_abandon = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user