Fixed nested template dependency relationship inference

This commit is contained in:
Bartek Kryza
2021-08-20 00:43:52 +02:00
parent bc54d322f2
commit ab4da6c87c
4 changed files with 34 additions and 23 deletions

View File

@@ -350,6 +350,8 @@ struct diagram {
std::string to_alias(const std::vector<std::string> &using_namespaces,
const std::string &full_name) const
{
LOG_DBG("Looking for alias for {}", full_name);
for (const auto &c : classes) {
if (c.full_name(using_namespaces) == full_name) {
return c.alias();