Refactored template specialization matching
This commit is contained in:
@@ -86,7 +86,7 @@ void to_json(nlohmann::json &j, const class_ &c)
|
||||
j["methods"] = c.methods();
|
||||
j["bases"] = c.parents();
|
||||
|
||||
j["template_parameters"] = c.templates();
|
||||
j["template_parameters"] = c.template_params();
|
||||
}
|
||||
|
||||
void to_json(nlohmann::json &j, const enum_ &c)
|
||||
|
||||
@@ -166,7 +166,7 @@ void generator::generate(const class_ &c, std::ostream &ostr) const
|
||||
|
||||
ostr << plantuml_common::to_plantuml(m.access()) << m.name();
|
||||
|
||||
if (!m.templates().empty()) {
|
||||
if (!m.template_params().empty()) {
|
||||
m.render_template_params(ostr, m_config.using_namespace(), false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user