style. vs这格式化逆大天

This commit is contained in:
lhhxxxxx
2022-08-02 03:16:59 +08:00
parent 97aabcbf32
commit 38e2816256
10 changed files with 79 additions and 83 deletions

View File

@@ -25,9 +25,9 @@ bool asst::ItemConfiger::parse(const json::value& json)
m_ordered_material_item_id.emplace_back(item_id);
}
std::ranges::sort(m_ordered_material_item_id,
[&](const std::string& lhs, const std::string& rhs) -> bool {
return material_sortid[lhs] < material_sortid[rhs];
});
[&](const std::string& lhs, const std::string& rhs) -> bool {
return material_sortid[lhs] < material_sortid[rhs];
});
return true;
}