ui: codeview template specialization

* when activating a template specialization the specialized template class (specialization parent) is not shown in the codeview anymore.
This commit is contained in:
malte_langkabel
2016-02-22 15:25:56 +01:00
parent e054df2e71
commit 1928e4beab
-16
View File
@@ -858,22 +858,6 @@ std::vector<Id> Storage::getActiveTokenIdsForId(Id tokenId, Id* declarationId) c
{
activeTokenIds.push_back(incomingEdges[i].id);
}
std::vector<StorageEdge> templateSpecializationEdges = m_sqliteStorage.getEdgesBySourceType(
tokenId, Edge::EDGE_TEMPLATE_SPECIALIZATION_OF
);
if (templateSpecializationEdges.size() > 0) // should be either 0 or 1
{
activeTokenIds.push_back(templateSpecializationEdges[0].targetNodeId);
}
std::vector<StorageEdge> templateMemberSpecializationEdges = m_sqliteStorage.getEdgesBySourceType(
tokenId, Edge::EDGE_TEMPLATE_MEMBER_SPECIALIZATION_OF
);
if (templateMemberSpecializationEdges.size() > 0) // should be either 0 or 1
{
activeTokenIds.push_back(templateMemberSpecializationEdges[0].targetNodeId);
}
}
return activeTokenIds;