From 9ff491b5e5efabf462e06199df1718ea9bf7dc6a Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 30 May 2024 23:43:49 -0500 Subject: [PATCH] [ox/model] Fix type params in type ID (synced from dd5d1bfbf517137cef5cb26eeb6a56045da2124b) --- src/ox/model/desctypes.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ox/model/desctypes.hpp b/src/ox/model/desctypes.hpp index a963ee429..248c30993 100644 --- a/src/ox/model/desctypes.hpp +++ b/src/ox/model/desctypes.hpp @@ -43,7 +43,7 @@ static constexpr auto buildTypeId( for (const auto &p : typeParams) { tp += p + ","; } - tp.resize(tp.len()); + tp.resize(tp.len() - 1); tp += "#"; } return ox::sfmt("{}{};{}", name, tp, version);