mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
fix.修复一些warning
This commit is contained in:
@@ -96,7 +96,7 @@ bool asst::ProcessTaskImageAnalyzer::analyze()
|
||||
m_result_rect = Rect();
|
||||
|
||||
for (const std::string& task_name : m_tasks_name) {
|
||||
auto task_ptr = task.get(task_name);
|
||||
auto task_ptr = Task.get(task_name);
|
||||
|
||||
switch (task_ptr->algorithm) {
|
||||
case AlgorithmType::JustReturn:
|
||||
@@ -123,4 +123,4 @@ void asst::ProcessTaskImageAnalyzer::set_image(const cv::Mat image)
|
||||
{
|
||||
AbstractImageAnalyzer::set_image(image);
|
||||
reset();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user