Added handling of template methods
This commit is contained in:
@@ -232,13 +232,18 @@ struct diagram {
|
||||
auto it = std::find(classes.begin(), classes.end(), c);
|
||||
if (it == classes.end())
|
||||
classes.emplace_back(std::move(c));
|
||||
else
|
||||
spdlog::debug("Class {} already in the model", c.name);
|
||||
}
|
||||
|
||||
void add_enum(enum_ &&e)
|
||||
{
|
||||
spdlog::debug("Adding enum: {}", e.name);
|
||||
auto it = std::find(enums.begin(), enums.end(), e);
|
||||
if (it == enums.end())
|
||||
enums.emplace_back(std::move(e));
|
||||
else
|
||||
spdlog::debug("Enum {} already in the model", e.name);
|
||||
}
|
||||
|
||||
std::string to_alias(const std::vector<std::string> &using_namespaces,
|
||||
|
||||
Reference in New Issue
Block a user