[ox/model] Change <> markers for type params to ## in type IDs to deal with NTFS' ineptitude
This commit is contained in:
parent
44f45e64e9
commit
26d6143006
4
deps/ox/src/ox/model/desctypes.hpp
vendored
4
deps/ox/src/ox/model/desctypes.hpp
vendored
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user