This commit is contained in:
aozhiwei 2024-09-05 16:17:12 +08:00
parent 6b7b6be707
commit 7b2031a64e

View File

@ -43,6 +43,13 @@ static std::array<std::vector<std::shared_ptr<AttrAddition>>, kAstEnd> s_speed_r
std::vector<std::shared_ptr<AttrAddition>>({}) std::vector<std::shared_ptr<AttrAddition>>({})
}; };
static void ClearSpeedRateInList()
{
for (auto& itr : s_speed_ratein_list) {
itr.clear();
}
}
static bool IsMulCalc(int attr_id) static bool IsMulCalc(int attr_id)
{ {
switch (attr_id) { switch (attr_id) {