Fixed dependency generation for template parameters
This commit is contained in:
@@ -185,14 +185,14 @@ public:
|
||||
|
||||
for (const auto &r : c.relationships) {
|
||||
std::string destination;
|
||||
if (r.type == relationship_t::kInstantiation) {
|
||||
destination = m_model.usr_to_name(
|
||||
m_config.using_namespace, r.destination);
|
||||
}
|
||||
else if (r.destination.find("#") != std::string::npos ||
|
||||
if (r.destination.find("#") != std::string::npos ||
|
||||
r.destination.find("@") != std::string::npos) {
|
||||
destination = m_model.usr_to_name(
|
||||
m_config.using_namespace, r.destination);
|
||||
if (destination.empty()) {
|
||||
ostr << "' ";
|
||||
destination = r.destination;
|
||||
}
|
||||
}
|
||||
else {
|
||||
destination = r.destination;
|
||||
|
||||
Reference in New Issue
Block a user