fix: 移除不必要的引用

This commit is contained in:
status102
2023-12-13 22:01:11 +08:00
parent 1469b4db48
commit f16ba4533e
2 changed files with 0 additions and 4 deletions

View File

@@ -7,7 +7,6 @@
#include "Task/Fight/MedicineCounterPlugin.h"
#include "Task/Miscellaneous/BattleFormationTask.h"
#include "Task/Miscellaneous/BattleProcessTask.h"
#include "Task/Miscellaneous/CopilotListNotificationPlugin.h"
#include "Task/Miscellaneous/TaskFileReloadTask.h"
#include "Task/ProcessTask.h"
#include "Utils/Logger.hpp"
@@ -46,7 +45,6 @@ asst::CopilotTask::CopilotTask(const AsstCallback& callback, Assistant* inst)
auto start_2_tp = std::make_shared<ProcessTask>(callback, inst, TaskType);
start_2_tp->set_tasks({ "BattleStartAll" }).set_ignore_error(false);
m_copilot_list_notification_ptr = start_2_tp->register_plugin<CopilotListNotificationPlugin>();
m_subtasks.emplace_back(start_2_tp);
// 跳过“以下干员出战后将被禁用,是否继续?”对话框

View File

@@ -8,7 +8,6 @@ namespace asst
class TaskFileReloadTask;
class BattleProcessTask;
class BattleFormationTask;
class CopilotListNotificationPlugin;
class ProcessTask;
// 抄作业任务
@@ -31,7 +30,6 @@ namespace asst
std::shared_ptr<ProcessTask> m_adverse_select_task_ptr = nullptr;
std::shared_ptr<BattleFormationTask> m_formation_task_ptr = nullptr;
std::shared_ptr<BattleProcessTask> m_battle_task_ptr = nullptr;
std::shared_ptr<CopilotListNotificationPlugin> m_copilot_list_notification_ptr = nullptr;
std::shared_ptr<ProcessTask> m_stop_task_ptr = nullptr;
std::string m_stage_name;
};