perf. use nullptr

This commit is contained in:
lhhxxxxx
2022-06-06 19:31:48 +08:00
parent 803134d541
commit 7a15449dfe
14 changed files with 36 additions and 36 deletions

View File

@@ -172,7 +172,7 @@ asst::BattleRole asst::BattleImageAnalyzer::oper_role_analyze(const Rect& roi)
MatchImageAnalyzer role_analyzer(m_image);
BattleRole result = BattleRole::Unknown;
auto result = BattleRole::Unknown;
double max_score = 0;
for (auto&& [role, role_name] : RolesName) {
role_analyzer.set_task_info("BattleOperRole" + role_name);