Fixed MessageChainsOrder test helper function for JSON

This commit is contained in:
Bartek Kryza
2024-05-22 22:14:28 +02:00
parent 5937061674
commit a7e2f7a496
2 changed files with 30 additions and 19 deletions

View File

@@ -40,7 +40,7 @@ void to_json(nlohmann::json &j, const participant &c)
j["name"] = dynamic_cast<const method &>(c).method_name();
}
j["full_name"] = c.full_name(false);
j["full_name"] = generators::json::render_name(c.full_name(false));
if (c.type_name() == "function" || c.type_name() == "function_template") {
const auto &f = dynamic_cast<const function &>(c);