perf: 删除自定义基建肥鸭多余的一次滑动操作

This commit is contained in:
MistEO
2022-10-26 23:12:31 +08:00
parent 64696a8380
commit 44516bb79e

View File

@@ -261,7 +261,6 @@ bool asst::InfrastTask::parse_and_set_custom_config(const std::filesystem::path&
infrast::CustomFacilityConfig pre_facility_config(1);
auto& pre_room_config = pre_facility_config.front();
pre_room_config.names = { target };
pre_room_config.sort = true;
auto pre_task_ptr = std::make_shared<InfrastDormTask>(m_callback, m_callback_arg, TaskType);
pre_task_ptr->set_custom_config(std::move(pre_facility_config));