[ox/model] Change <> markers for type params to ## in type IDs to deal with NTFS' ineptitude

This commit is contained in:
Gary Talent 2022-12-17 13:38:59 -06:00
parent 44f45e64e9
commit 26d6143006

View File

@ -30,12 +30,12 @@ static constexpr auto buildTypeId(CRStringView name, int version,
const TypeParamPack &typeParams) noexcept { const TypeParamPack &typeParams) noexcept {
String tp; String tp;
if (typeParams.size()) { if (typeParams.size()) {
tp = "<"; tp = "#";
for (const auto &p : typeParams) { for (const auto &p : typeParams) {
tp += p + ","; tp += p + ",";
} }
tp = tp.substr(0, tp.len() - 1); tp = tp.substr(0, tp.len() - 1);
tp += ">"; tp += "#";
} }
return ox::sfmt("{}{};{}", name, tp, version); return ox::sfmt("{}{};{}", name, tp, version);
} }