mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
fix: fix build error
This commit is contained in:
@@ -43,3 +43,11 @@ bool asst::RoguelikeRecruitConfiger::parse(const json::value& json)
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void asst::RecruitConfiger::clear()
|
||||
{
|
||||
LogTraceFunction;
|
||||
|
||||
m_all_opers.clear();
|
||||
m_ordered_all_opers_name.clear();
|
||||
}
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace asst
|
||||
protected:
|
||||
virtual bool parse(const json::value& json) override;
|
||||
|
||||
void clear();
|
||||
|
||||
std::unordered_map<std::string, RoguelikeOperInfo> m_all_opers;
|
||||
std::vector<std::string> m_ordered_all_opers_name;
|
||||
};
|
||||
|
||||
@@ -40,3 +40,10 @@ bool asst::RoguelikeShoppingConfiger::parse(const json::value& json)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void asst::RecruitConfiger::clear()
|
||||
{
|
||||
LogTraceFunction;
|
||||
|
||||
m_goods.clear();
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace asst
|
||||
private:
|
||||
virtual bool parse(const json::value& json) override;
|
||||
|
||||
void clear();
|
||||
|
||||
std::vector<RoguelikeGoods> m_goods;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user